Zaktualizuj 'Jenkinsfile_evaluation'
This commit is contained in:
parent
47b0dd2c9e
commit
529e91f814
@ -39,7 +39,7 @@ pipeline {
|
||||
archiveArtifacts artifacts: 'metrics.txt, metrics.png', followSymlinks: false
|
||||
|
||||
script {
|
||||
ACC = sh (
|
||||
MAE = sh (
|
||||
script: 'tail -1 metrics.txt',
|
||||
returnStdout: true
|
||||
).trim()
|
||||
@ -50,16 +50,16 @@ pipeline {
|
||||
|
||||
post {
|
||||
success {
|
||||
emailext body: "SUCCESS, ACC = ${ACC}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: "SUCCESS, ${MAE}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
failure {
|
||||
emailext body: "FAILURE, ACC = ${ACC}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: "FAILURE, ${MAE}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
unstable {
|
||||
emailext body: "UNSTABLE, ACC = ${ACC}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: "UNSTABLE, ${MAE}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
changed {
|
||||
emailext body: "CHANGED, ACC = ${ACC}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: "CHANGED, ${MAE}", subject: 's478815 evaluation', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user