aboutsummaryrefslogtreecommitdiff
path: root/tcwg-llvm-release.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-release.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-release.yaml')
-rw-r--r--tcwg-llvm-release.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg-llvm-release.yaml b/tcwg-llvm-release.yaml
index 655d97e2..c696c6be 100644
--- a/tcwg-llvm-release.yaml
+++ b/tcwg-llvm-release.yaml
@@ -94,6 +94,8 @@
set -ex
+ . jenkins-helpers.sh
+
# Until we figure out a way to use heavy-job with different weights
# based on the builder, we hardcode to one.
weight=1
@@ -130,7 +132,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 ${weight} > build-container.sh
# Define CONTAINER, CONTAINER_CLEANUP, session_host and session_port