Fix build number
This commit is contained in:
parent
a9a4cfc42d
commit
a953071c09
@ -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"'
|
||||||
|
Loading…
Reference in New Issue
Block a user