Update Jenkinsfile

This commit is contained in:
Agata 2022-05-01 10:39:56 +02:00
parent a1f7758686
commit 4dd5c36a31

View File

@ -21,15 +21,9 @@ pipeline {
copyArtifacts filter: '*', projectName:'s444421-evaluation/training_and_evaluation', optional: true copyArtifacts filter: '*', projectName:'s444421-evaluation/training_and_evaluation', optional: true
sh 'ipython ./evaluation.py' sh 'ipython ./evaluation.py'
archiveArtifacts artifacts: 'build_accuracy.txt, bilds_accuracy.jpg' archiveArtifacts artifacts: 'build_accuracy.txt, bilds_accuracy.jpg'
script {
ACC=$(tail -n 1 build_accuracy.txt)
} }
} }
} }
stage('test') {
sh 'echo $ACC'
}
}
post { post {
success { success {
emailext body: 'SUCCESS', subject: 's444421-evaluation status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' emailext body: 'SUCCESS', subject: 's444421-evaluation status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'