From e2314e4c04a315c6db05985c489dba7827fff6cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Fri, 2 Feb 2018 23:23:45 +0100 Subject: [PATCH] Set TEST_DB_URL in env MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It follows the change "Move push_results_to_db to TestCase" [1] which stopped duplicating TEST_DB_URL in config and in env. [1] https://gerrit.opnfv.org/gerrit/#/c/49757/ Change-Id: If860492c40b1d0ed4082a4dbe385686020697f37 Signed-off-by: Cédric Ollivier --- jjb/functest/functest-alpine.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index b5db2ed37..e7171f035 100755 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -4,6 +4,8 @@ set -e set +u set +o pipefail +TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results + check_os_deployment() { FUNCTEST_IMAGE=opnfv/functest-healthcheck:${DOCKER_TAG} echo "Functest: Pulling Functest Docker image ${FUNCTEST_IMAGE} ..." @@ -145,7 +147,8 @@ 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 TEST_DB_URL=${TEST_DB_URL}" ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" -- 2.16.6