From f9d1df22517b67ffd2cd722f294f33e27508b320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wa=C5=82=C4=99sa?= Date: Fri, 6 May 2022 23:17:17 +0200 Subject: [PATCH] Zaktualizuj 'Jenkinsfile-evaluation' --- Jenkinsfile-evaluation | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'