Add email posting to Jenkinsfile
This commit is contained in:
parent
f695c5c5d0
commit
c9c4ac204c
@ -39,5 +39,13 @@ pipeline {
|
|||||||
archiveArtifacts artifacts: 'evaluation.txt,mean_square_error.png'
|
archiveArtifacts artifacts: 'evaluation.txt,mean_square_error.png'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
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'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,5 +30,17 @@ pipeline {
|
|||||||
archiveArtifacts artifacts: 'model_movies.h5,my_runs/**'
|
archiveArtifacts artifacts: 'model_movies.h5,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'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user