aboutsummaryrefslogtreecommitdiff
path: root/tcwg-buildapp.yaml
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-02-08 16:19:46 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-02-08 16:20:26 +0000
commiteda94fbe2cfa34bafba6a19287648af5bce386d6 (patch)
tree5efd4f88922af184d1f897bfc4b36ca3e0d8dc32 /tcwg-buildapp.yaml
parente8af17cdd584ffe77791a72426055564e01c29cf (diff)
tcwg-buildapp: Update to match new start-container-docker.sh interface.
Change-Id: Iafbfc785affd062708c96a87c2e8ead17dd8133b
Diffstat (limited to 'tcwg-buildapp.yaml')
-rw-r--r--tcwg-buildapp.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg-buildapp.yaml b/tcwg-buildapp.yaml
index a94bf25dba..01ad8ea3d8 100644
--- a/tcwg-buildapp.yaml
+++ b/tcwg-buildapp.yaml
@@ -95,9 +95,11 @@
host=$(./jenkins-scripts/nodename2hostname.sh $NODE_NAME)
bash -x ./jenkins-scripts/start-container-docker.sh --arch ${host_arch} --distro trusty --session-host ${host} > container.sh
- # Define session_host and session_port, install trap handler
+ # Define CONTAINER, CONTAINER_CLEANUP, session_host and session_port
. ./container.sh
+ trap "${CONTAINER_CLEANUP}" EXIT
+
${CONTAINER} "cd ${WORKSPACE} && ${WORKSPACE}/tcwg-buildapp.sh ${toolchain_url} ${app} ${target} ${linux_repo} ${linux_branch}"
publishers:
- email: