summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-29 23:30:20 +0000
committerHolger Levsen <holger@layer-acht.org>2015-12-09 11:28:32 +0100
commit46ddc27f0bbdc0aa0c27541d63460214c4686498 (patch)
treeb0624a9e5e36c11438d6fcf285e3ee2fa6ab2001 /bin/reproducible_build.sh
parente8a1da03fee36b81a2fb75e3c564237e66931a5c (diff)
downloadjenkins.debian.net-46ddc27f0bbdc0aa0c27541d63460214c4686498.tar.xz
reproducible: refactor how the 'notify on build start' feature is handled, stop abusing of the builder column in the db for this
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index e8256318..87dda59a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -417,7 +417,6 @@ choose_package() {
SAVE_ARTIFACTS=$(echo $RESULT|cut -d "|" -f5)
NOTIFY=$(echo $RESULT|cut -d "|" -f6)
NOTIFY_MAINTAINER=$(echo $RESULT|cut -d "|" -f7)
- local DEBUG_URL=$(echo $RESULT|cut -d "|" -f8) # this is abuse (state-handling...) of the boulder column in the schedule table…
# remove previous build attempts which didnt finish correctly:
BUILDER_PREFIX="${JOB_NAME#reproducible_builder_}/"
BAD_BUILDS=$(mktemp --tmpdir=$TMPDIR)
@@ -464,7 +463,7 @@ choose_package() {
;;
*) ;;
esac
- if [ "$DEBUG_URL" = "TBD" ] ; then
+ if [ "$NOTIFY" = "2" ] ; then
irc_message "$SRCPACKAGE/$SUITE/$ARCH started building at ${BUILD_URL}console"
fi
echo "$(date -u ) - starting to build ${SRCPACKAGE}/${SUITE}/${ARCH} on $(hostname -f) on '$DATE'" | tee ${RBUILDLOG}