diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-20 15:05:44 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-20 15:05:44 +0200 |
commit | 439dec1a0d785a1b6afdbc79970012e53ca837ae (patch) | |
tree | 02925416bc519f627cff0fa27eb544d91c7fce59 /bin | |
parent | 8a05bb5f5b1bbfcd5681dbf23282a9ba32e0eb0f (diff) | |
download | jenkins.debian.net-439dec1a0d785a1b6afdbc79970012e53ca837ae.tar.xz |
reproducible: sleep less after unhandled conditions as these are rare and arbitrary
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 6 |
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 } |