Send emails after training
All checks were successful
s444409-training/pipeline/head This commit looks good
All checks were successful
s444409-training/pipeline/head This commit looks good
This commit is contained in:
parent
bdaacef8b9
commit
7abe9c8d08
@ -13,10 +13,30 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
environment {
|
||||
NOTIFICATION_ADDRESS = 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'model_out',
|
||||
onlyIfSuccessful: true
|
||||
}
|
||||
|
||||
success {
|
||||
emailext body: 'SUCCESS', subject: "${env.JOB_NAME}", to: "${env.NOTIFICATION_ADDRESS}"
|
||||
}
|
||||
|
||||
failure {
|
||||
emailext body: 'FAILURE', subject: "${env.JOB_NAME}", to: "${env.NOTIFICATION_ADDRESS}"
|
||||
}
|
||||
|
||||
unstable {
|
||||
emailext body: 'UNSTABLE', subject: "${env.JOB_NAME}", to: "${env.NOTIFICATION_ADDRESS}"
|
||||
}
|
||||
|
||||
changed {
|
||||
emailext body: 'CHANGED', subject: "${env.JOB_NAME}", to: "${env.NOTIFICATION_ADDRESS}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user