diff --git a/Jenkinsfile-evaluation b/Jenkinsfile-evaluation index 4a7b47f..2873b65 100644 --- a/Jenkinsfile-evaluation +++ b/Jenkinsfile-evaluation @@ -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'