From 0f7896a626d517ff5e9e77c6d4642f89fd507244 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 28 Oct 2014 14:30:30 +0100 Subject: g-i: use extended email plugin to only notify on first failures (and successes again) --- job-cfg/g-i-installation.yaml | 10 ++++++++-- 1 file 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 -- cgit v1.2.3-70-g09d2