Zaktualizuj 'Jenkinsfile-evaluation'
This commit is contained in:
parent
3599008edf
commit
f9d1df2251
@ -12,7 +12,7 @@ pipeline {
|
|||||||
sh 'python3 ./ml_pytorch_results.py'
|
sh 'python3 ./ml_pytorch_results.py'
|
||||||
archiveArtifacts artifacts: 'metrics.txt, MSE.txt, RMSplot.png', followSymlinks: false
|
archiveArtifacts artifacts: 'metrics.txt, MSE.txt, RMSplot.png', followSymlinks: false
|
||||||
script {
|
script {
|
||||||
out = sh (
|
MSE = sh (
|
||||||
script: 'tail -1 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 = ${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 {
|
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user