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
|
archiveArtifacts artifacts: 'metrics.txt, metrics.png', followSymlinks: false
|
||||||
|
|
||||||
script {
|
script {
|
||||||
ACC = sh (
|
MAE = sh (
|
||||||
script: 'tail -1 metrics.txt',
|
script: 'tail -1 metrics.txt',
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
@ -50,16 +50,16 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
success {
|
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 {
|
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 {
|
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 {
|
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