summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2015-12-10 00:57:49 +0000
committerHolger Levsen <holger@layer-acht.org>2015-12-10 02:07:18 +0100
commit88d7c5d3a2c8c4400b076ae8e3ce5b03e9eabfaa (patch)
treec54df9a1297938d62dd90e793dee1e8fde9ed212 /bin
parent33915956727ea6ef540faec02f2782b04a4354d8 (diff)
downloadjenkins.debian.net-88d7c5d3a2c8c4400b076ae8e3ce5b03e9eabfaa.tar.xz
reproducible: build: when NOTIFY is 0 means we want no notification. Turn that info in a form the rest of build.sh understands
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 2 insertions, 0 deletions
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}