summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-16 19:21:10 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-16 19:21:10 +0100
commitc2f8d8d54776fa9bda6a684dfafeef2e7238ff95 (patch)
treec6bc1c467d83019ae999a22f7b84ef67d44504e3 /bin
parentb4cad83cf262a1b1ac1988087703bed1c3ba5892 (diff)
downloadjenkins.debian.net-c2f8d8d54776fa9bda6a684dfafeef2e7238ff95.tar.xz
reproducible: sleep 1-3 secs to randomize start times
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 031b8269..47389f9b 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}