summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-08 22:31:01 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-08 22:31:01 +0200
commit10a7f4d8eb00c7dfc9a8e2ae2ccba682849f60a1 (patch)
tree1400ae8a2c0e2aed6745746be31447e19265a3ea /bin
parentc1a76d6abfd5f357c273f1816136cd1a286e58a6 (diff)
downloadjenkins.debian.net-10a7f4d8eb00c7dfc9a8e2ae2ccba682849f60a1.tar.xz
reproducible: announce sleep in advance
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 26798c82..c60501b6 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -275,6 +275,7 @@ handle_unhandled() {
MESSAGE="$BUILD_URL met an unhandled $1, please check."
echo "$MESSAGE"
irc_message "$MESSAGE"
+ echo "Sleeping 5m before aborting the job."
sleep 5m
exec /srv/jenkins/bin/abort.sh
exit 0
@@ -286,6 +287,7 @@ handle_enospace() {
echo "$MESSAGE"
echo "$MESSAGE" | mail -s "$BUILDER ran into diskspace problems" qa-jenkins-scm@lists.alioth.debian.org
irc_message "$MESSAGE"
+ echo "Sleeping 30m before aborting the job."
sleep 30m
exec /srv/jenkins/bin/abort.sh
exit 0