Zaktualizuj 'Jenkinsfile-evaluation'

This commit is contained in:
Sebastian Wałęsa 2022-05-06 23:17:17 +02:00
parent 3599008edf
commit f9d1df2251

View File

@ -12,7 +12,7 @@ pipeline {
sh 'python3 ./ml_pytorch_results.py'
archiveArtifacts artifacts: 'metrics.txt, MSE.txt, RMSplot.png', followSymlinks: false
script {
out = sh (
MSE = sh (
script: 'tail -1 MSE.txt',
returnStdout: true
).trim()
@ -22,7 +22,7 @@ pipeline {
}
post {
success {
emailext body: 'SUCCESS, MSE = ${out}', 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 {
emailext body: 'FAILURE', subject: 's478839-evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'