[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: refactor

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 14:11:52 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 f8517d6f02bdd312995769e0f5aafcfc010ef122
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 30 16:11:24 2015 +0200

    reproducible: refactor
---
 bin/reproducible_build.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 9fb5e43..10a4bc5 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -17,7 +17,9 @@ set -e
 ARCH="amd64"
 
 # sleep 1-12 secs to randomize start times
-/bin/sleep $(echo "scale=1 ; $(shuf -i 1-120 -n 1)/10" | bc )
+delay_start() {
+	/bin/sleep $(echo "scale=1 ; $(shuf -i 1-120 -n 1)/10" | bc )
+}
 
 create_results_dirs() {
 	mkdir -vp $BASE/dbd/${SUITE}/${ARCH}
@@ -363,6 +365,7 @@ choose_package () {
 }
 
 init() {
+	delay_start
 	if [ $SAVE_ARTIFACTS -eq 1 ] ; then
 		local ANNOUNCE="Artifacts will be preserved."
 	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