From 1c820d6b2ab1f68e00ab18a8de3e14643323ef1f Mon Sep 17 00:00:00 2001 From: Maciej Sobkowiak Date: Sun, 16 May 2021 17:10:07 +0200 Subject: [PATCH] Email notification --- train.Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/train.Jenkinsfile b/train.Jenkinsfile index 5de6eae..ad1441d 100644 --- a/train.Jenkinsfile +++ b/train.Jenkinsfile @@ -43,5 +43,12 @@ pipeline { archiveArtifacts 'sucides_model.h5' } } + stage('send-mail') { + steps{ + emailext body: currentBuild.result ?: 'SUCCESS', + subject: 's434784-training', + to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + } } } \ No newline at end of file