summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-20 15:05:44 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-20 15:05:44 +0200
commit439dec1a0d785a1b6afdbc79970012e53ca837ae (patch)
tree02925416bc519f627cff0fa27eb544d91c7fce59 /bin
parent8a05bb5f5b1bbfcd5681dbf23282a9ba32e0eb0f (diff)
downloadjenkins.debian.net-439dec1a0d785a1b6afdbc79970012e53ca837ae.tar.xz
reproducible: sleep less after unhandled conditions as these are rare and arbitrary
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 5fcda1a6..4c1208f2 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -276,11 +276,7 @@ handle_unhandled() {
MESSAGE="$BUILD_URL met an unhandled $1, please investigate."
echo "$MESSAGE"
irc_msg "$MESSAGE"
- if [ -z "$2" ] ; then
- sleep 15m
- else
- sleep $2
- fi
+ sleep 5m
exec /srv/jenkins/bin/abort.sh
exit 0
}