diff options
author | Charles Baylis <charles.baylis@linaro.org> | 2017-06-14 09:35:17 +0100 |
---|---|---|
committer | Charles Baylis <charles.baylis@linaro.org> | 2017-06-14 09:55:17 +0100 |
commit | abd40877d275ec130e0d0595dc35fcd9576bc7bb (patch) | |
tree | f64146b0d7fc32ec9e0ef019489348e4cd4228f9 /tcwg-llvm-testsuite.yaml | |
parent | 9251ef55b00730a437bb468447e4b4e3fcfa61bb (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-testsuite.yaml')
-rw-r--r-- | tcwg-llvm-testsuite.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tcwg-llvm-testsuite.yaml b/tcwg-llvm-testsuite.yaml index d5964b48..bafbfe4b 100644 --- a/tcwg-llvm-testsuite.yaml +++ b/tcwg-llvm-testsuite.yaml @@ -72,6 +72,9 @@ - shell: | #!/bin/bash set -exu + + . jenkins-helpers.sh + if [ "${toolchain:+set}" != "set" ]; then echo "Test-suite needs a toolchain to test" exit 1 @@ -92,7 +95,7 @@ esac # 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} > build-container.sh # Define CONTAINER, CONTAINER_CLEANUP, session_host and session_port |