From 8db0b2eae483bdb3ec8015c0e688ad6737ea7383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wa=C5=82=C4=99sa?= Date: Fri, 6 May 2022 20:09:56 +0200 Subject: [PATCH] add notifications --- Jenkinsfile-train | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile-train b/Jenkinsfile-train index fb60f4b..6f4a36c 100644 --- a/Jenkinsfile-train +++ b/Jenkinsfile-train @@ -13,4 +13,19 @@ pipeline { } } } + post { + success { + emailext body: 'SUCCESS', subject: 's478839-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + failure { + emailext body: 'FAILURE', subject: 's478839-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + unstable { + emailext body: 'UNSTABLE', subject: 's478839-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + changed { + emailext body: 'CHANGED', subject: 's478839-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + } + } \ No newline at end of file