[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: build: when NOTIFY is 0 means we want no notification. Turn that info in a form the rest of build.sh understands

Holger Levsen holger at moszumanska.debian.org
Thu Dec 10 01:07:31 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 88d7c5d3a2c8c4400b076ae8e3ce5b03e9eabfaa
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Thu Dec 10 00:57:49 2015 +0000

    reproducible: build: when NOTIFY is 0 means we want no notification.  Turn that info in a form the rest of build.sh understands
---
 bin/reproducible_build.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 959eb36..27ead7b 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -466,6 +466,8 @@ choose_package() {
 	esac
 	if [ "$NOTIFY" = "2" ] ; then
 		irc_message "$SRCPACKAGE/$SUITE/$ARCH started building at ${BUILD_URL}console"
+	elif [ "$NOTIFY" = "0" ] ; then  # the build script has a different idea of notify than the scheduler,
+		NOTIFY=''                  # the scheduler uses integers, build.sh uses strings.
 	fi
 	echo "$(date -u ) - starting to build ${SRCPACKAGE}/${SUITE}/${ARCH} on $(hostname -f) on '$DATE'" | tee ${RBUILDLOG}
 	echo "The jenkins build log is/was available at ${BUILD_URL}console" | tee -a ${RBUILDLOG}

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