Update 'lab6/Jenkinsfile_eval'
All checks were successful
s449288-evaluation/pipeline/head This commit looks good
All checks were successful
s449288-evaluation/pipeline/head This commit looks good
This commit is contained in:
parent
4630cc58c0
commit
ab0f92658b
@ -34,8 +34,6 @@ pipeline {
|
||||
sh 'python3 evaluate.py'
|
||||
echo 'Model evaluated. Metrics saved. Plot saved.'
|
||||
sh 'LAST_MAE=$(tail -1 eval_results.txt)'
|
||||
sh 'echo LAST_MAE'
|
||||
echo 'LAST_MAE'
|
||||
sh 'head eval_results.txt'
|
||||
sh 'file error_plot.jpg'
|
||||
echo 'Archiving metrics file...'
|
||||
@ -46,16 +44,16 @@ pipeline {
|
||||
}
|
||||
post {
|
||||
success {
|
||||
emailext body: 'SUCCESS - $LAST_MAE MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'SUCCESS - ${LAST_MAE} MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
failure {
|
||||
emailext body: 'FAILURE - $LAST_MAE MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'FAILURE - ${LAST_MAE} MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
unstable {
|
||||
emailext body: 'UNSTABLE - $LAST_MAE MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'UNSTABLE - ${LAST_MAE} MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
changed {
|
||||
emailext body: 'CHANGED - $LAST_MAE MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'CHANGED - ${LAST_MAE} MAE', subject: 's449288-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user