Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Gurr2018-09-12 12:08:11 -0400
committerFrederic Gurr2018-09-12 12:08:11 -0400
commite4f5e3e3f670912661c673b821327ef0f6dc22d7 (patch)
tree777ea2ae29496e775148b3e171cd8dd826f2d598 /Jenkinsfile
parente2130b31213e60d57e19aa3027e027daf346fd3f (diff)
downloadorg.eclipse.simrel.build-e4f5e3e3f670912661c673b821327ef0f6dc22d7.tar.gz
org.eclipse.simrel.build-e4f5e3e3f670912661c673b821327ef0f6dc22d7.tar.xz
org.eclipse.simrel.build-e4f5e3e3f670912661c673b821327ef0f6dc22d7.zip
Add notifications in Jenkins file
Change-Id: If884d26f0e17227a4cd1521edf86d50627b170c4 Signed-off-by: Frederic Gurr <frederic.gurr@eclipse-foundation.org>
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 085a10a8..282f7d0a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -52,4 +52,13 @@ pipeline {
}
}
}
+ failure {
+ emailext (
+ subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
+ body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
+ <p>Check console output at &QUOT;<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>&QUOT;</p>""",
+ recipientProviders: [[$class: 'DevelopersRecipientProvider']],
+ to: 'frederic.gurr@eclipse-foundation.org'
+ )
+ }
} \ No newline at end of file

Back to the top