From 0630a56ff2bef4cb89e9aceb6922a7d1a434d6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pokrywka?= Date: Tue, 3 May 2022 18:15:59 +0200 Subject: [PATCH] added sending emails --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index ec0c299..819ddf3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,4 +26,13 @@ pipeline { } } } + post { + success { + emailext body: "Model successfully trained", subject: "Model training 444463", to: "e19191c5.uam.onmicrosoft.com@emea.teams.ms" + } + + failure { + emailext body: "Training failure", subject: "Model training 444463", to: "e19191c5.uam.onmicrosoft.com@emea.teams.ms" + } + } }