[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: remove debug when notifying about diffoscope failures

Holger Levsen holger at layer-acht.org
Sat Mar 11 14:23:05 UTC 2017


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 8d6dd16f63f5bdb51f10ae0f7ba33a9d8163b20b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Mar 11 15:22:50 2017 +0100

    reproducible Debian: remove debug when notifying about diffoscope failures
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index b9f89c8..c3baac8 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -104,7 +104,11 @@ cleanup_all() {
 	if [ "$SAVE_ARTIFACTS" = "1" ] ; then
 		save_artifacts
 	elif ( [ "$NOTIFY" = "1" ] || [ "$NOTIFY" = "2" ] ) && [ "$SAVE_ARTIFACTS" = "0" ] ; then
-		irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY"
+		if [ "$NOTIFY" = "diffoscope" ] ; then
+			irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed…"
+		else
+			irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY"
+		fi
 	elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
 		irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY"
 	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