diff options
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/compass4nfv/compass-logs.sh | 2 | ||||
-rwxr-xr-x | jjb/functest/functest-alpine.sh | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/jjb/compass4nfv/compass-logs.sh b/jjb/compass4nfv/compass-logs.sh index 03c8b20ac..c028194e7 100644 --- a/jjb/compass4nfv/compass-logs.sh +++ b/jjb/compass4nfv/compass-logs.sh @@ -14,7 +14,7 @@ OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S") COMPASS_LOG_FILENAME="${JOB_NAME}_${BUILD_NUMBER}_${OPNFV_ARTIFACT_VERSION}.log.tar.gz" -sudo docker exec -it compass-tasks /bin/bash /opt/collect-log.sh +sudo docker exec compass-tasks /bin/bash /opt/collect-log.sh sudo docker cp compass-tasks:/opt/log.tar.gz ${LOG_DIRECTORY}/${COMPASS_LOG_FILENAME} sudo chown $(whoami):$(whoami) ${LOG_DIRECTORY}/${COMPASS_LOG_FILENAME} 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" |