From e70f6a183350006ed496e1cde31641c651ae3200 Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Sun, 16 May 2021 16:22:02 +0200 Subject: [PATCH] arch artifacts & mailing --- lab5/eval/Jenkinsfile | 12 ++++++++++++ lab5/train/Jenkinsfile | 14 ++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/lab5/eval/Jenkinsfile b/lab5/eval/Jenkinsfile index 8c7043f..f500d33 100644 --- a/lab5/eval/Jenkinsfile +++ b/lab5/eval/Jenkinsfile @@ -60,4 +60,16 @@ pipeline { } } } + post { + success { + mail body: 'SUCCESS', + subject: 's434684-evaluation', + to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + failure { + mail body: 'FAILURE', + subject: 's434684-evaluation', + to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + } } diff --git a/lab5/train/Jenkinsfile b/lab5/train/Jenkinsfile index 38cbe89..aa71218 100644 --- a/lab5/train/Jenkinsfile +++ b/lab5/train/Jenkinsfile @@ -45,9 +45,23 @@ pipeline { stage('archive artifact') { steps { archiveArtifacts 'grid-stability-dense.h5' + archiveArtifacts 'my_runs/**' } } } } } + post { + success { + build job: 's434684-evaluation/master' + mail body: 'SUCCESS', + subject: 's434684-training', + to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + failure { + mail body: 'FAILURE', + subject: 's434684-training', + to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' + } + } }