From 88d7c5d3a2c8c4400b076ae8e3ce5b03e9eabfaa Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 10 Dec 2015 00:57:49 +0000 Subject: 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 959eb369..27ead7b5 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} -- cgit v1.2.3-70-g09d2