diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2017-07-19 12:05:51 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2017-07-19 12:05:51 +0200 |
commit | 6174d29163618ce4818696adc1d680c22a4a5e9f (patch) | |
tree | 9de37303979fd2eacc216499972f54a8ddcd5705 | |
parent | fa6d8a70ce7728c0992f0ac3ed11e1e0e10489d9 (diff) |
[Functest] Wget download_images.sh to support Alpine on Danube jobs
Change-Id: I70cf598a09def6c62dd4c32ed819e818833a6ff2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-rw-r--r-- | jjb/functest/functest-alpine.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index 4b4c36503..512a01edc 100644 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -33,8 +33,14 @@ echo "Functest: Start Docker and prepare environment" echo "Functest: Download images that will be used by test cases" images_dir="${HOME}/opnfv/functest/images" -chmod +x ${WORKSPACE}/functest/ci/download_images.sh -${WORKSPACE}/functest/ci/download_images.sh ${images_dir} ${DEPLOY_SCENARIO} ${HOST_ARCH} 2> ${redirect} +download_script=${WORKSPACE}/functest/ci/download_images.sh +if [[ ! -f ${download_script} ]]; then + # to support Danube as well + wget https://git.opnfv.org/functest/plain/functest/ci/download_images.sh -O ${download_script} 2> ${redirect} +fi +chmod +x ${download_script} +${download_script} ${images_dir} ${DEPLOY_SCENARIO} ${HOST_ARCH} 2> ${redirect} + images_vol="-v ${images_dir}:${FUNCTEST_DIR}/images" dir_result="${HOME}/opnfv/functest/results/${BRANCH##*/}" |