summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index 5b87c59c7..502d7d612 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -152,10 +152,11 @@
image={repo}:{port}/{container}:{tag}
fi
volumes=""
- if [[ "{tag}" =~ "hunter" ]]; then
- volumes=-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static \
- -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static
- fi
+ case "{tag}" in
+ arm*-hunter)
+ volumes=-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static \
+ -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static;;
+ esac
sudo docker run --rm \
-e S3_ENDPOINT_URL=https://storage.googleapis.com \
-e S3_DST_URL=s3://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \