diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-09-13 14:42:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-13 14:42:50 +0000 |
commit | a9cabc95f41010cca5c6ab3619dc3ced845266e3 (patch) | |
tree | 4c95940c7f9e180c445d2898a2be87b5e5ff159d | |
parent | fdbb13462e85aefb8f7176e2e61256eda7058b8e (diff) | |
parent | 7b9a7c4307b9911475a952a24bae976298cd97b8 (diff) |
Merge "Add reporting for Functest Alpine in Releng"
-rwxr-xr-x | jjb/functest/functest-alpine.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index 57398faf6..34c746e27 100755 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -74,11 +74,13 @@ else tiers=(healthcheck smoke features vnf) fi +cmd_opt='prepare_env start && run_tests -r -t all' + for tier in ${tiers[@]}; do FUNCTEST_IMAGE=opnfv/functest-${tier} echo "Functest: Pulling Functest Docker image ${FUNCTEST_IMAGE} ..." docker pull ${FUNCTEST_IMAGE}>/dev/null - cmd="docker run ${envs} ${volumes} ${FUNCTEST_IMAGE}" + cmd="docker run ${envs} ${volumes} ${FUNCTEST_IMAGE} /bin/bash -c '${cmd_opt}'" echo "Running Functest tier '${tier}'. CMD: ${cmd}" - ${cmd} + eval ${cmd} done |