Email on Jenkins build failure

This commit is contained in:
Kris Lamoureux 2020-09-17 01:01:15 -04:00
parent dd8e7d67aa
commit 816de59027
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

8
Jenkinsfile vendored
View File

@ -15,4 +15,12 @@ pipeline {
} }
} }
} }
post {
failure {
mail to: "${env.EMAIL}",
subject: "$JOB_NAME - Build # $BUILD_NUMBER - ${currentBuild.result}!",
body: "Check console output at $BUILD_URL to view the results."
}
}
} }