added sending emails

This commit is contained in:
Mikołaj Pokrywka 2022-05-03 18:15:59 +02:00
parent c58b598dd5
commit 0630a56ff2

9
Jenkinsfile vendored
View File

@ -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"
}
}
} }