summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-03 12:20:26 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-03 12:20:26 +0200
commite361b67ab4f6ef25a6387674494f76eced031563 (patch)
tree41bd36b00f1420b3a8b42d905f7eeca3d05acfd4 /buildbot
parent0b69486dc16953d025c5ff2508281e84bfba81a0 (diff)
downloaddeployment-e361b67ab4f6ef25a6387674494f76eced031563.tar.gz
deployment-e361b67ab4f6ef25a6387674494f76eced031563.tar.bz2
deployment-e361b67ab4f6ef25a6387674494f76eced031563.zip
paused BB treated as hard error (code 1 returned).
This should prevent dependent schedulers to fire up.
Diffstat (limited to 'buildbot')
-rwxr-xr-xbuildbot/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildbot/build.sh b/buildbot/build.sh
index 4e5f22c..382c2fc 100755
--- a/buildbot/build.sh
+++ b/buildbot/build.sh
@@ -9,9 +9,9 @@ PAUSE_LOCKFILE=/tmp/buildbot_pause.lock
if [ -f $PAUSE_LOCKFILE ]; then
echo "The Buildbot is paused, remove ${PAUSE_LOCKFILE} to resume."
-# exit code 2 not really documented, just something
-# different from the classical 1 (it's not a error after all).
-exit 2
+
+# Treat this as error, so dependent schedulers won't fire up.
+exit 1
fi
source "${HOME}/activate"