#--------------------------------
# master
#--------------------------------
+ - opnfv-jump-2:
+ installer: fuel
+ <<: *master
- intel-pod6:
installer: joid
<<: *master
- build-name:
name: '$BUILD_NUMBER Suite: $FUNCTEST_SUITE_NAME Scenario: $DEPLOY_SCENARIO'
- timeout:
- timeout: 210
+ timeout: $JOB_TIMEOUT
abort: true
parameters:
default: 'os-odl_l2-nofeature-ha'
- functest-parameter:
gs-pathname: '{gs-pathname}'
+ - string:
+ name: JOB_TIMEOUT
+ default: '210'
+ description: "Job build timeout"
scm:
- git-scm:
if [ "${PUSH_RESULTS_TO_DB}" == "true" ]; then
flag="-r"
fi
- echo "Functest: running all the tests"
cmd="${FUNCTEST_REPO_DIR}/docker/run_tests.sh ${flag}"
container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1)
docker exec $container_id $cmd
envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \
-e NODE_NAME=${NODE_NAME} -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO} \
-e CI_DEBUG=${CI_DEBUG}"
-
- dir_result="${HOME}/opnfv/functest/results/"
+ branch=${GIT_BRANCH##*/}
+ dir_result="${HOME}/opnfv/functest/results/${branch}"
mkdir -p ${dir_result}
sudo rm -rf ${dir_result}/*
res_volume="-v ${dir_result}:/home/opnfv/functest/results"