From a953071c094219ddab9ae3ea30c735f3e0383ab8 Mon Sep 17 00:00:00 2001 From: s430705 Date: Thu, 13 May 2021 12:43:44 +0200 Subject: [PATCH] Fix build number --- Jenkinsfile_evaluation | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Jenkinsfile_evaluation b/Jenkinsfile_evaluation index 2de5d1c..c7f02a2 100644 --- a/Jenkinsfile_evaluation +++ b/Jenkinsfile_evaluation @@ -18,13 +18,6 @@ pipeline { description: 'Which build to use for copying artifacts', name: 'WHICH_BUILD_EVAL' ) - string( - defaultValue: '0', - description: 'Build number of s430705-training', - name: 'buildNumber', - trim: false - ) - gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH' } @@ -38,7 +31,7 @@ pipeline { } stage('Evaluation') { steps { - sh "buildNumber=$(echo ${env.BUILD_NUMBER})" + sh 'buildNumber=$(echo ${env.BUILD_NUMBER})' sh 'python3 "./lab06-eval.py $buildNumber"' sh 'python3 "./lab06-plot.py"' sh 'python3 "./lab07_sacred01.py"'