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:41:14 +02:00
parent 161c7b9bec
commit a9a4cfc42d
2 changed files with 3 additions and 3 deletions

View File

@ -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"'

View File

@ -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'