[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible Debian: send manual notifictaions to #d-r and triggered ones to #d-r-changes

Holger Levsen holger at layer-acht.org
Thu Mar 9 11:29: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 8ce588c273a22770265482b473452c19dc05b7c9
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 9 12:28:09 2017 +0100

    reproducible Debian: send manual notifictaions to #d-r and triggered ones to #d-r-changes
    
    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 98535ab..3ba3258 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 [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+	elif ( [ "$NOTIFY" = "1" ] || [ "$NOTIFY" = "2" ] ) && [ "$SAVE_ARTIFACTS" = "1" ] ; then
 		irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
+	elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+		irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
 	fi
 	[ ! -f $RBUILDLOG ] || gzip -9fvn $RBUILDLOG
 	if [ "$MODE" = "master" ] ; then

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