Fix build number
This commit is contained in:
parent
161c7b9bec
commit
a9a4cfc42d
@ -38,7 +38,8 @@ pipeline {
|
||||
}
|
||||
stage('Evaluation') {
|
||||
steps {
|
||||
sh 'python3 "./lab06-eval.py ${buildNumber}"'
|
||||
sh "buildNumber=$(echo ${env.BUILD_NUMBER})"
|
||||
sh 'python3 "./lab06-eval.py $buildNumber"'
|
||||
sh 'python3 "./lab06-plot.py"'
|
||||
sh 'python3 "./lab07_sacred01.py"'
|
||||
sh 'python3 "./lab07_sacred02.py"'
|
||||
|
@ -17,7 +17,6 @@ pipeline {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's430705-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
sh "python3 lab06_training.py ${epochs}"
|
||||
sh "echo ${env.BUILD_NUMBER}"
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,7 +30,7 @@ pipeline {
|
||||
post {
|
||||
success {
|
||||
|
||||
build job: 's430705-evaluation/master', parameters: [buildSelector: buildNumber(UPSTREAM_BUILD_NUMBER)]
|
||||
build job: 's430705-evaluation/master'
|
||||
mail body: 'SUCCESS',
|
||||
subject: 's430705',
|
||||
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
|
Loading…
Reference in New Issue
Block a user