add output MSE
This commit is contained in:
parent
b7acb0757b
commit
3599008edf
@ -11,12 +11,18 @@ pipeline {
|
|||||||
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
|
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
|
||||||
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 {
|
||||||
|
out = sh (
|
||||||
|
script: 'tail -1 MSE.txt',
|
||||||
|
returnStdout: true
|
||||||
|
).trim()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
emailext body: 'SUCCESS', subject: 's478839-evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
emailext body: 'SUCCESS, MSE = ${out}', 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