aboutsummaryrefslogtreecommitdiff
path: root/tcwg-make-source-tarball.yaml
diff options
context:
space:
mode:
authorCharles Baylis <charles.baylis@linaro.org>2017-06-14 09:26:13 +0100
committerCharles Baylis <charles.baylis@linaro.org>2017-06-14 09:53:07 +0100
commit9251ef55b00730a437bb468447e4b4e3fcfa61bb (patch)
tree0ad4e9fa2257e202b9625f320576a25bfcb1abe5 /tcwg-make-source-tarball.yaml
parentbdc7bc152983065d4dca610ae39ec811258ea948 (diff)
tcwg-<many>: use print_host_for_node()
Use print_host_for_node() instead of nodename2hostname.sh in . tcwg-make-release . tcwg-test-release . tcwg-make-source-tarball . tcwg-test-release-matrix Change-Id: I281ba761c201c202a10f3c70563f1bad7a4471d5
Diffstat (limited to 'tcwg-make-source-tarball.yaml')
-rw-r--r--tcwg-make-source-tarball.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcwg-make-source-tarball.yaml b/tcwg-make-source-tarball.yaml
index 78382618d6..7d951e339b 100644
--- a/tcwg-make-source-tarball.yaml
+++ b/tcwg-make-source-tarball.yaml
@@ -59,6 +59,7 @@
rm -rf jenkins-scripts
git clone --depth 1 https://git-us.linaro.org/toolchain/jenkins-scripts
+ . jenkins-scripts/jenkins-helpers.sh
rm -rf tcwg-release-tools
git clone -b automation --depth 1 https://git-us.linaro.org/toolchain/tcwg-release-tools
@@ -70,7 +71,7 @@
mkdir -p ${WORKSPACE}/artifacts
# Start build container
- host=$(./jenkins-scripts/nodename2hostname.sh $NODE_NAME)
+ host=$(print_host_for_node $NODE_NAME)
bash ${WORKSPACE}/jenkins-scripts/start-container-docker.sh --arch amd64 --distro trusty --session-host ${host} > build-container.sh
# Define CONTAINER, CONTAINER_CLEANUP, session_host and session_port