marcoabreu closed pull request #10811: Update emails for build failures in
Jenkins
URL: https://github.com/apache/incubator-mxnet/pull/10811
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/Jenkinsfile b/Jenkinsfile
index 7a08acc38a5..eb23d4096cb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -788,7 +788,10 @@ try {
node("mxnetlinux-cpu") {
// Only send email if master failed
if (currentBuild.result == "FAILURE" && env.BRANCH_NAME == "master") {
- emailext body: 'Build for MXNet branch ${BRANCH_NAME} has broken. Please
view the build at ${BUILD_URL}', replyTo: '${EMAIL}', subject: '[BUILD FAILED]
Branch ${BRANCH_NAME} build ${BUILD_NUMBER}', to: '${EMAIL}'
+ emailext body: 'Build for MXNet branch
${env.BRANCH_NAME}:${env.GIT_COMMIT} has broken. Please view the build at
${BUILD_URL}',
+ replyTo: '[email protected]',
+ subject: '[MXNet CI] ${env.BRANCH_NAME} build ${env.BUILD_NUMBER}
failed',
+ to: '[email protected]'
}
// Remember to rethrow so the build is marked as failing
if (err) {
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services