Add plot for evaluation, add parameters to jenkins and fix mail sending
Some checks failed
s430705-evaluation/pipeline/head There was a failure building this commit
s430705-training/pipeline/head There was a failure building this commit

This commit is contained in:
s430705 2021-05-13 11:33:28 +02:00
parent a554bd02e0
commit cee296967f

View File

@ -31,8 +31,10 @@ pipeline {
} }
stage('Evaluation') { stage('Evaluation') {
steps { steps {
build = ${env.BUILD_ID} script {
sh 'python3 "./lab06-eval.py build"' def build_number = Jenkins.instance.getitem("s430705-training/master").lastSuccessfulBuild.number
}
sh 'python3 "./lab06-eval.py build_number"'
sh 'python3 "./lab06-plot.py"' sh 'python3 "./lab06-plot.py"'
sh 'python3 "./lab07_sacred01.py"' sh 'python3 "./lab07_sacred01.py"'
sh 'python3 "./lab07_sacred02.py"' sh 'python3 "./lab07_sacred02.py"'