summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-18 14:44:03 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-18 14:44:03 +0200
commit6360ea25bd872c425a36e6bc72dfc35d0af7e4b4 (patch)
tree92774bb13ae924bebbbb6b0ec9552fa6964e07b3 /bin
parent1025c16780f50abc1e2575d8c05abc9f2c1352b5 (diff)
downloadjenkins.debian.net-6360ea25bd872c425a36e6bc72dfc35d0af7e4b4.tar.xz
reproducible arch: sleep 2h (instead of 30m) if nothing to do
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index d33952a9..bfe37502 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -189,8 +189,12 @@ for PKG in $PACKAGES ; do
fi
done
if [ -z $SRCPACKAGE ] ; then
- echo "No package found to be build, sleeping 30m."
- sleep 30m
+ echo "$(date -u ) - no package found to be build, sleeping 2h."
+ for i in 1 2 3 4 ; do
+ sleep 30m
+ echo "$(date -u ) - still sleeping..."
+ done
+ echo "$(date -u ) - abort now."
exec /srv/jenkins/bin/abort.sh
exit 0
fi