commit a146c1753befffe08724d5f165bd5ffdeacd483c
parent 13af85653015f4715dcf6c1c76030a881c518576
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 19 Jun 2018 14:24:29 +0200
paused BB triggers red bar.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/buildbot/build.sh b/buildbot/build.sh
@@ -12,7 +12,9 @@ PAUSE_LOCKFILE=/tmp/buildbot_pause.lock
if [ -f $PAUSE_LOCKFILE ]; then
echo "The Buildbot is paused, remove ${PAUSE_LOCKFILE} to resume."
-exit 0
+# exit code 2 not really documented, just something
+# different from the classical 1 (it's not a error after all).
+exit 2
fi
sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-build'