diff options
author | 2018-02-02 23:23:45 +0100 | |
---|---|---|
committer | 2018-02-02 23:34:29 +0100 | |
commit | e2314e4c04a315c6db05985c489dba7827fff6cc (patch) | |
tree | 6486988d4c03143293a15946d6b34e44c165270e | |
parent | 606a18946b901e57f5910cbeaf28cb8367414941 (diff) |
Set TEST_DB_URL in env
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 <cedric.ollivier@orange.com>
-rwxr-xr-x | jjb/functest/functest-alpine.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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" |