From 062859936ae7911a0aa995f066d8c19a5af71d3c Mon Sep 17 00:00:00 2001 From: s430705 Date: Thu, 13 May 2021 11:12:22 +0200 Subject: [PATCH] Add plot for evaluation, add parameters to jenkins and fix mail sending --- Jenkinsfile_evaluation | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile_evaluation b/Jenkinsfile_evaluation index b1d5a06..bae7395 100644 --- a/Jenkinsfile_evaluation +++ b/Jenkinsfile_evaluation @@ -31,7 +31,9 @@ pipeline { } stage('Evaluation') { steps{ - sh 'python3 "./lab06-eval.py ${WHICH_BUILD_TRAIN}"' + def test = build job:"s430705-training/master" + def buildNumber = test.getNumber() + sh 'python3 "./lab06-eval.py ${buildNumber}"' sh 'python3 "./lab06-plot.py"' sh 'python3 "./lab07_sacred01.py"' sh 'python3 "./lab07_sacred02.py"'