From: Cédric Ollivier Date: Sat, 10 Feb 2018 11:26:25 +0000 (+0100) Subject: Export CI_LOOP as expected by Functest X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=9dc51f765444a912266e5f5ea86a8a25c18d0dda;p=releng.git 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 --- 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"