Fix email notification

This commit is contained in:
Agata 2022-05-01 10:26:40 +02:00
parent 3155102967
commit b32dea5b12

View File

@ -19,7 +19,9 @@ pipeline {
copyArtifacts filter: '*', projectName:'s444421-evaluation/training_and_evaluation', optional: true
sh 'ipython ./evaluation.py'
archiveArtifacts artifacts: 'build_accuracy.txt, bilds_accuracy.jpg'
ACC = sh (script: 'tail -n 1 build_accuracy.txt', returnStdout: true).trim()
script {
ACC = sh (script: 'tail -n 1 build_accuracy.txt', returnStdout: true).trim()
}
}
}
}