From 3f0f274eb3744e2ba69c38330ea2e155e6d3c51b Mon Sep 17 00:00:00 2001 From: Filip Izydorczyk Date: Thu, 27 May 2021 17:14:08 +0200 Subject: [PATCH] Added posts --- data/Jenkinsfile | 7 ++++++- evaluation/Jenkinsfile | 9 +++++++++ learning/Jenkinsfile | 12 ++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/data/Jenkinsfile b/data/Jenkinsfile index b31d4e5..1bba454 100644 --- a/data/Jenkinsfile +++ b/data/Jenkinsfile @@ -22,4 +22,9 @@ pipeline { } } } -} + post { + success { + build job: 's434700-training' + } + } +} \ No newline at end of file diff --git a/evaluation/Jenkinsfile b/evaluation/Jenkinsfile index 299a318..6a26059 100644 --- a/evaluation/Jenkinsfile +++ b/evaluation/Jenkinsfile @@ -36,4 +36,13 @@ pipeline { } } } + post{ + success { + mail body: 'SUCCESS EVALUATION', subject: 's434700', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + + failure { + mail body: 'FAILURE EVALUATION', subject: 's434700', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + } } diff --git a/learning/Jenkinsfile b/learning/Jenkinsfile index fbc11cf..3a0856d 100644 --- a/learning/Jenkinsfile +++ b/learning/Jenkinsfile @@ -29,4 +29,16 @@ pipeline { } } } + + post { + success { + build job: 's434700-evaluation/master' + mail body: 'SUCCESS TRAINING', subject: 's434700', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + + failure { + mail body: 'FAILURE TRAINING', subject: 's434700', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + + } }