ium_434766/pytorch-training-eval/Jenkinsfile-eval

30 lines
885 B
Plaintext
Raw Normal View History

2021-05-07 21:30:35 +02:00
pipeline {
agent {
dockerfile true
}
stages {
stage('checkout') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-create-dataset'
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-training'
}
}
stage('Docker'){
steps{
2021-05-10 10:47:18 +02:00
sh 'python3 "./../stroke-pytorch-eval.py" >> eval.txt'
2021-05-07 21:30:35 +02:00
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'eval.txt'
}
post {
success {
emailext body: 'Evaluation of stroke predictions is finished',
subject: 's434766 evaluation finished',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
}
}
}
}
}