summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-09 16:19:04 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-09 16:19:04 +0200
commit8b4e8c709ce69883c3874b97b063de21da9de3d2 (patch)
tree710c2488615031ba0096778aad46577541d60acf /bin/reproducible_common.sh
parent85f7b2fe76472ddf1237a4db24f08cfb79f934e0 (diff)
downloadjenkins.debian.net-8b4e8c709ce69883c3874b97b063de21da9de3d2.tar.xz
reproducible: refactor
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 0d13a6f7..e939a4fc 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -42,12 +42,17 @@ JENKINS_URL=${JENKINS_URL:0:-1}
SUITES="testing unstable experimental"
# architectures being tested
ARCHS="armhf amd64"
-# number of cores to be used
-NUM_CPU=$(grep -c '^processor' /proc/cpuinfo)
+
+# define build nodes in use
+BUILD_NODES="bpi0-armhf-rb.debian.net hb0-armhf-rb.debian.net wbq0-armhf-rb.debian.net cbxi4pro0-armhf-rb.debian.net profitbricks-build1-amd64.debian.net profitbricks-build2-amd64.debian.net" # these also needs to be defined in bin/jenkins_master_wrapper.sh
+BUILD_ENV_VARS="ARCH NUM_CPU CPU_MODEL DATETIME" # these also needs to be defined in bin/reproducible_info.sh
# existing usertags
USERTAGS="toolchain infrastructure timestamps fileordering buildpath username hostname uname randomness buildinfo cpu signatures environment umask ftbfs locale"
+# number of cores to be used
+NUM_CPU=$(grep -c '^processor' /proc/cpuinfo)
+
# we only need them for html creation but we cannot declare them in a function
declare -A SPOKENTARGET