[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible arch: sleep 2h (instead of 30m) if nothing to do

Holger Levsen holger at moszumanska.debian.org
Sun Oct 18 15:40:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 6360ea25bd872c425a36e6bc72dfc35d0af7e4b4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Oct 18 14:44:03 2015 +0200

    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(-)

diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index d33952a..bfe3750 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list