Fix build number
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 12:43:44 +02:00
parent a9a4cfc42d
commit a953071c09

View File

@ -18,13 +18,6 @@ pipeline {
description: 'Which build to use for copying artifacts', description: 'Which build to use for copying artifacts',
name: 'WHICH_BUILD_EVAL' 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' gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
} }
@ -38,7 +31,7 @@ pipeline {
} }
stage('Evaluation') { stage('Evaluation') {
steps { steps {
sh "buildNumber=$(echo ${env.BUILD_NUMBER})" sh 'buildNumber=$(echo ${env.BUILD_NUMBER})'
sh 'python3 "./lab06-eval.py $buildNumber"' sh 'python3 "./lab06-eval.py $buildNumber"'
sh 'python3 "./lab06-plot.py"' sh 'python3 "./lab06-plot.py"'
sh 'python3 "./lab07_sacred01.py"' sh 'python3 "./lab07_sacred01.py"'