Added email notifications

This commit is contained in:
Lara 2020-03-09 23:35:09 -04:00
parent cfa55f742b
commit daacead0e4

12
Jenkinsfile vendored
View file

@ -29,4 +29,16 @@ pipeline {
}
}
}
post {
failure {
mail to: 'larat248@gmail.com',
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
body: "Something is wrong with ${env.BUILD_URL}"
}
success{
mail to: 'larat248@gmail.com',
subject: "Success Pipeline: ${currentBuild.fullDisplayName}",
body: "Everything is good ${env.BUILD_URL}"
}
}
}