From 6360ea25bd872c425a36e6bc72dfc35d0af7e4b4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 18 Oct 2015 14:44:03 +0200 Subject: reproducible arch: sleep 2h (instead of 30m) if nothing to do --- bin/reproducible_build_arch_pkg.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-54-g00ecf