aboutsummaryrefslogtreecommitdiff
path: root/tcwg-llvm-staged-build.yaml
diff options
context:
space:
mode:
authorCharles Baylis <charles.baylis@linaro.org>2017-06-14 09:35:17 +0100
committerCharles Baylis <charles.baylis@linaro.org>2017-06-14 09:55:17 +0100
commitabd40877d275ec130e0d0595dc35fcd9576bc7bb (patch)
treef64146b0d7fc32ec9e0ef019489348e4cd4228f9 /tcwg-llvm-staged-build.yaml
parent9251ef55b00730a437bb468447e4b4e3fcfa61bb (diff)
tcwg-llvm-*: use print_host_for_node() instead of nodename2hostname.sh
The shell script nodename2hostname.sh is not successfully being kept up to date, so use print_host_for_node() in jenkins-helpers.sh so that nodename2hostname.sh can be removed. Change-Id: Ice0f71a829d8c6001ad88d663346debfeb35b5a3
Diffstat (limited to 'tcwg-llvm-staged-build.yaml')
-rw-r--r--tcwg-llvm-staged-build.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg-llvm-staged-build.yaml b/tcwg-llvm-staged-build.yaml
index 59d36956..6e816ade 100644
--- a/tcwg-llvm-staged-build.yaml
+++ b/tcwg-llvm-staged-build.yaml
@@ -109,6 +109,8 @@
#!/bin/bash
set -ex
+ . jenkins-helpers.sh
+
# Select builder arch/type/container
buildjobs=1
case ${label} in
@@ -142,7 +144,7 @@
fi
# Start build container
- builder=$(${WORKSPACE}/nodename2hostname.sh $NODE_NAME)
+ builder=$(print_host_for_node $NODE_NAME)
bash ${WORKSPACE}/start-container-docker.sh --arch ${builder_arch} --distro ${build_container_tag} --session-host ${builder} --weight 1 --prefix run_ > build-container.sh
# Source container logic, set cleanup job