diff --git a/Jenkinsfile_train b/Jenkinsfile_train index f8a11a6..90b027d 100644 --- a/Jenkinsfile_train +++ b/Jenkinsfile_train @@ -23,4 +23,18 @@ pipeline { } } } + post { + success { + emailext body: 'SUCCESS', subject: 's444386-train-status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + failure { + emailext body: 'FAILURE', subject: 's444386-train-status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + unstable { + emailext body: 'UNSTABLE', subject: 's444386-train-status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + changed { + emailext body: 'CHANGED', subject: 's444386-train-status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + } } \ No newline at end of file