[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: slightly prefer to run the first build in the future
Holger Levsen
holger at layer-acht.org
Fri Nov 24 16:02:07 UTC 2017
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 884d5084c9be7cbc64500525906b769983b77fab
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Nov 24 16:02:00 2017 +0000
reproducible Arch Linux: slightly prefer to run the first build in the future
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_build_archlinux_pkg.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 36018c2..1b2ccdf 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -391,8 +391,9 @@ mkdir b1 b2
# currently there are two Arch Linux build nodes… let's keep things simple
N1="profitbricks-build3-amd64"
N2="profitbricks-build4-amd64"
-# if random number between 0 and 1 is greater than 0…
-if [ $(( ( $RANDOM % 2 ) )) -gt 0 ] ; then
+# if random number between 0 and 99 is greater than 60…
+# (because pb4 is generally less loaded than pb3)
+if [ $(( ( $RANDOM % 100 ) )) -gt 60 ] ; then
NODE1=$N1
NODE2=$N2
else
--
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