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' + } + } }