[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: disable mail notifications for testing

Holger Levsen holger at moszumanska.debian.org
Thu Oct 1 13:05:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 30accdad872e10d06312da3c9d4ccbe36e227762
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Oct 1 15:04:40 2015 +0200

    reproducible: disable mail notifications for testing
---
 bin/reproducible_build.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index cd322b3..3f01c8a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -110,11 +110,12 @@ update_db_and_html() {
 			fi
 		fi
 	fi
-	if [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \
+	if [ "$SUITE" != "testing" ] && \
+			[ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \
 			[ "$OLD_STATUS" != "depwait" ] && [ "$STATUS" != "depwait" ] && \
 			[ "$OLD_STATUS" != "404" ] && [ "$STATUS" != "404" ]; then
 		echo "More information on $REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE, feel free to reply to this email to get more help." | \
-			mail -s "$SRCPACKAGE changed in $SUITE: $OLD_STATUS -> $STATUS" \
+			mail -s "$SRCPACKAGE changed in $SUITE/$ARCH: $OLD_STATUS -> $STATUS" \
 				-a "From: Reproducible builds folks <reproducible-builds at lists.alioth.debian.org>" \
 				"$SRCPACKAGE at packages.debian.org"
 	fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list