Add plot for evaluation, add parameters to jenkins and fix mail sending
Some checks failed
s430705-training/pipeline/head There was a failure building this commit

This commit is contained in:
s430705 2021-05-13 11:56:37 +02:00
parent 0dc2c330cc
commit c9724882fc

View File

@ -17,6 +17,7 @@ pipeline {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's430705-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts fingerprintArtifacts: true, projectName: 's430705-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh 'python3 lab06_training.py ${epochs}' sh 'python3 lab06_training.py ${epochs}'
sh 'echo ${env.BUILD_NUMBER}'
} }
} }
@ -30,7 +31,7 @@ pipeline {
post { post {
success { success {
build job: 's430705-evaluation/master', parameters: [string(name: 'buildNumber', value: ${env.BUILD_NUMBER})] build job: 's430705-evaluation/master', parameters: [string(name: 'buildNumber', value: '2')]
mail body: 'SUCCESS', mail body: 'SUCCESS',
subject: 's430705', subject: 's430705',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'