38 lines
898 B
Plaintext
38 lines
898 B
Plaintext
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
|
|
|
|
|
|
|
|
stages {
|
|
stage('Copy') {
|
|
steps {
|
|
copyArtifacts projectName: 's444354-create-dataset'
|
|
sh 'python3 ./pytorch/pytorch.py'
|
|
}
|
|
}
|
|
stage('Archive') {
|
|
steps {
|
|
|
|
archiveArtifacts artifacts: 'pytorch/result.txt',
|
|
allowEmptyArchive: true
|
|
|
|
}
|
|
}
|
|
stage('Starting eval job') {
|
|
steps {
|
|
build job: 's444354-evaluation/master', wait: false
|
|
}
|
|
}
|
|
}
|
|
options {
|
|
copyArtifactPermission('s444354-evaluation');
|
|
}
|
|
post {
|
|
always {
|
|
emailext body: "${currentBuild.currentResult}", subject: 's444354-testing build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
|
}
|
|
}
|
|
} |