summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-09-13 14:42:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-13 14:42:50 +0000
commita9cabc95f41010cca5c6ab3619dc3ced845266e3 (patch)
tree4c95940c7f9e180c445d2898a2be87b5e5ff159d
parentfdbb13462e85aefb8f7176e2e61256eda7058b8e (diff)
parent7b9a7c4307b9911475a952a24bae976298cd97b8 (diff)
Merge "Add reporting for Functest Alpine in Releng"
-rwxr-xr-xjjb/functest/functest-alpine.sh6
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