Zaktualizuj 'Jenkinsfile-evaluation'

This commit is contained in:
Sebastian Wałęsa 2022-05-06 23:20:34 +02:00
parent 11349cfa72
commit 084e4e3784

View File

@ -13,7 +13,7 @@ pipeline {
archiveArtifacts artifacts: 'metrics.txt, MSE.txt, RMSplot.png', followSymlinks: false archiveArtifacts artifacts: 'metrics.txt, MSE.txt, RMSplot.png', followSymlinks: false
script { script {
MSE = sh ( MSE = sh (
script: 'tail -2 MSE.txt', script: 'tail -1 MSE.txt',
returnStdout: true returnStdout: true
).trim() ).trim()
} }
@ -22,7 +22,7 @@ pipeline {
} }
post { post {
success { success {
emailext body: 'SUCCESS, MSE = ${MSE}', subject: 's478839-evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' emailext body: "SUCCESS, MSE = ${MSE}", subject: 's478839-evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
} }
failure { failure {
emailext body: 'FAILURE', subject: 's478839-evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' emailext body: 'FAILURE', subject: 's478839-evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'