From 504387a823e647c63dde0ec71a1863224e87e8ab Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Sun, 24 Apr 2022 17:51:33 +0200 Subject: [PATCH] Update 'lab6/Jenkinsfile' --- lab6/Jenkinsfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lab6/Jenkinsfile b/lab6/Jenkinsfile index 9ab1823..7336f93 100644 --- a/lab6/Jenkinsfile +++ b/lab6/Jenkinsfile @@ -20,5 +20,19 @@ pipeline { echo 'Model archived' } } + } + post { + success { + emailext body: 'SUCCESS', subject: 'Build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + failure { + emailext body: 'FAILURE', subject: 'Build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + unstable { + emailext body: 'UNSTABLE', subject: 'Build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + } + changed { + emailext body: 'CHANGED', subject: 'Build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' } + } } \ No newline at end of file