[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: remove debug, just notify

Holger Levsen holger at layer-acht.org
Tue May 2 17:07:22 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 760fba3c1c9a40040bbe08a87c3fc7c8b717a2bb
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue May 2 19:07:10 2017 +0200

    reproducible Debian: remove debug, just notify
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index c483420..95cb6f4 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -103,8 +103,10 @@ cleanup_all() {
 	echo "Starting cleanup."
 	if [ "$SAVE_ARTIFACTS" = "1" ] ; then
 		save_artifacts
-	elif ( [ "$NOTIFY" = "1" ] || [ "$NOTIFY" = "2" ] ) && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+	elif [ "$NOTIFY" = "2" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
 		irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY"
+	elif [ "$NOTIFY" = "1" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+		irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
 	elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
 		if [ "$NOTIFY" = "diffoscope" ] ; then
 			irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed"

-- 
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