summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-10 12:26:25 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-10 12:26:25 +0100
commit9dc51f765444a912266e5f5ea86a8a25c18d0dda (patch)
treefd772c17f10bafef999087492a592508bc244121
parente9146eaaa369c3ca6de321778c6e07e0d6a95d1d (diff)
Export CI_LOOP as expected by Functest
Otherwise all testcases are skipped: https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/764/console https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/763/console It will be enforced by a similar patch in Functest too. Change-Id: I6877979295378ed9ce6b85ad62e8a78e1572b8ba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rwxr-xr-xjjb/functest/functest-alpine.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh
index 0f9c0035a..432bbbb8b 100755
--- a/jjb/functest/functest-alpine.sh
+++ b/jjb/functest/functest-alpine.sh
@@ -4,6 +4,7 @@ set -e
set +u
set +o pipefail
+CI_LOOP=${CI_LOOP:-daily}
TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results
ENERGY_RECORDER_API_URL=http://energy.opnfv.fr/resources
@@ -148,7 +149,7 @@ test -f ${HOME}/opnfv/functest/custom/params_${DOCKER_TAG} && custom_params=$(ca
envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \
-e NODE_NAME=${NODE_NAME} -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO} \
- -e BUILD_TAG=${BUILD_TAG} -e DEPLOY_TYPE=${DEPLOY_TYPE} \
+ -e BUILD_TAG=${BUILD_TAG} -e DEPLOY_TYPE=${DEPLOY_TYPE} -e CI_LOOP=${CI_LOOP} \
-e TEST_DB_URL=${TEST_DB_URL} -e ENERGY_RECORDER_API_URL=${ENERGY_RECORDER_API_URL}"
ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"