bdelacretaz commented on code in PR #109:
URL: https://github.com/apache/comdev-site/pull/109#discussion_r1180385710
##########
Jenkinsfile:
##########
@@ -168,5 +168,43 @@ pipeline {
}
deleteDir() /* clean up our workspace */
}
+
+ // If the build failed, send an email to the list.
+ failure {
+ script {
+ if (env.BRANCH_NAME == 'main') {
+ emailext(
+ to: "[email protected]",
+ recipientProviders: [[$class:
'DevelopersRecipientProvider']],
+ from: "Jenkins <[email protected]>",
+ subject: "Jenkins job
${env.JOB_NAME}#${env.BUILD_NUMBER} failed",
Review Comment:
Could we add a [website] tag in the subject line? I'm a fan of tags these
days ;-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]