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