summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-28 14:30:30 +0100
committerHolger Levsen <holger@layer-acht.org>2014-10-28 14:39:46 +0100
commit0f7896a626d517ff5e9e77c6d4642f89fd507244 (patch)
treecc271d875affb518d11957b36a1ee32bba28d8a2 /job-cfg
parent2f0ed1b8dad1bb0dbf7abd8f4edda97c46f06a3d (diff)
downloadjenkins.debian.net-0f7896a626d517ff5e9e77c6d4642f89fd507244.tar.xz
g-i: use extended email plugin to only notify on first failures (and successes again)
Diffstat (limited to 'job-cfg')
-rw-r--r--job-cfg/g-i-installation.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/job-cfg/g-i-installation.yaml b/job-cfg/g-i-installation.yaml
index a56bb2ab..083a7f30 100644
--- a/job-cfg/g-i-installation.yaml
+++ b/job-cfg/g-i-installation.yaml
@@ -16,9 +16,15 @@
parse-rules: '/srv/jenkins/logparse/debian.rules'
unstable-on-warning: 'true'
fail-on-error: 'true'
- - email:
+ - email-ext:
recipients: '{my_recipients}'
- notify-every-unstable-build: false
+ first-failure: true
+ fixed: true
+ subject: 'Build failed in Jenkins: $JOB_NAME $BUILD_NUMBER'
+ attach-build-log: true
+ body: 'See $BUILD_URL
+and $BUILD_URL/console
+and $BUILD_URL/artifact/results/ if there are any.'
- archive:
artifacts: 'results/*.*, results/log/*, results/log/installer/*'
latest_only: false