summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-16 21:14:44 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-16 21:14:44 +0100
commit3752b8b91e171e349124e3e7f6918d96e37fd9fd (patch)
tree26cb0cfbd36a306869f3ad7460dcca5b1faf406f
parent9342366c39119f39ef05fb6353f636573f046b50 (diff)
downloadjenkins.debian.net-3752b8b91e171e349124e3e7f6918d96e37fd9fd.tar.xz
reproducible: actually sleep
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 47389f9b..fd048e10 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -14,8 +14,8 @@ 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)
+# sleep 1-4 secs to randomize start times
+/bin/sleep $(echo "scale=1 ; $(shuf -i 1-40 -n 1)/10" | bc )
create_results_dirs() {
mkdir -p /var/lib/jenkins/userContent/dbd/${SUITE}/${ARCH}