summaryrefslogtreecommitdiff
path: root/tcwg-buildfarm.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-05-28 20:34:33 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-05-28 20:34:33 +0000
commit4617d1401b468de587cb8da5b10e0d60336d93cd (patch)
treed91ee2c3fcf52ae8f6eb7bb85d5e2b0eed758073 /tcwg-buildfarm.sh
parent27f1d9146beb06b6ded5bb5535391d3b9c9072cb (diff)
tcwg-buildfarm.sh: Use test_container_tag Jenkins parameter
to select the distro version to use in the test container. Change-Id: I0f751dfa4bd73c8fcc7d486412bf465d61bd3f56
Diffstat (limited to 'tcwg-buildfarm.sh')
-rwxr-xr-xtcwg-buildfarm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-buildfarm.sh b/tcwg-buildfarm.sh
index 98a5c684..4d8865ed 100755
--- a/tcwg-buildfarm.sh
+++ b/tcwg-buildfarm.sh
@@ -33,7 +33,7 @@ if echo $runtests | grep -q $target; then
tester_label=$(print_tester_label_for_target $target)
if [ x"$tester_label" != x"" ]; then
if [ x"$target" != x"aarch64-linux-gnu_ilp32" ]; then
- bash -x ./jenkins-scripts/start-container-docker.sh --label $tester_label --distro trusty --task test --prefix test_ > test-container.sh
+ bash -x ./jenkins-scripts/start-container-docker.sh --label $tester_label --distro ${test_container_tag} --task test --prefix test_ > test-container.sh
else
# Set weight to "2" to give VM decent amount of RAM.
bash -x ./jenkins-scripts/start-container-qemu.sh --weight 2 --label $tester_label --distro xenial --task test --prefix test_ --kernel_url https://dev-01.tcwglab/~tcwg-buildslave/images/ilp32/norov-Image --initrd_url https://cloud-images.ubuntu.com/releases/16.04/release/unpacked/ubuntu-16.04-server-cloudimg-arm64-initrd-generic > test-container.sh