From 6b3fcf4b8def4ccd40fd7dccee66832232302c12 Mon Sep 17 00:00:00 2001 From: Jan Nowak Date: Fri, 7 May 2021 23:06:24 +0200 Subject: [PATCH] fix email notyfication --- Jenkinsfile_train | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile_train b/Jenkinsfile_train index 350f648..b5305f0 100644 --- a/Jenkinsfile_train +++ b/Jenkinsfile_train @@ -42,22 +42,22 @@ pipeline { } } - post { - success { - //Wysłanie maila - emailext body: 'SUCCESS', - subject: 's426206', - to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' - } - unstable { - emailext body: 'UNSTABLE', subject: 's426206', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' - } - failure { - emailext body: 'FAILURE', subject: 's426206', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' - } - changed { - emailext body: 'CHANGED', subject: 's426206', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' - } + } + post { + success { + //Wysłanie maila + emailext body: 'SUCCESS', + subject: 's426206', + to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + unstable { + emailext body: 'UNSTABLE', subject: 's426206', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + failure { + emailext body: 'FAILURE', subject: 's426206', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + changed { + emailext body: 'CHANGED', subject: 's426206', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' } } }