[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: sleep 1-3 secs to randomize start times

Holger Levsen holger at moszumanska.debian.org
Mon Mar 16 18:23:49 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 c2f8d8d54776fa9bda6a684dfafeef2e7238ff95
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Mar 16 19:21:10 2015 +0100

    reproducible: sleep 1-3 secs to randomize start times
---
 bin/reproducible_build.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 031b826..47389f9 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -14,6 +14,9 @@ common_init "$@"
 # support for different architectures (we have actual support only for amd64)
 ARCH="amd64"
 
+# sleep 1-3 secs to randomize start times
+SLEEP=$(shuf -i 1-3 -n 1)
+
 create_results_dirs() {
 	mkdir -p /var/lib/jenkins/userContent/dbd/${SUITE}/${ARCH}
 	mkdir -p /var/lib/jenkins/userContent/rbuild/${SUITE}/${ARCH}

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