This is an automated email from the ASF dual-hosted git repository. matthieu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 9b3c4efed55e500772ae1b31b12b5ed80c5dcf83 Author: Jean Helou <[email protected]> AuthorDate: Thu Jan 14 08:52:48 2021 +0100 JAMES-3225 email developpers of PR on build failure --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 782f4e5..4db43dc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -143,6 +143,15 @@ Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC to: "[email protected]", recipientProviders: [[$class: 'DevelopersRecipientProvider']] ) + }else{ + emailext( + subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'", + body: """ +BUILD-FAILURE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]': +Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>" +""", + recipientProviders: [[$class: 'DevelopersRecipientProvider']] + ) } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
