diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-05-02 09:21:21 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-05-02 09:21:21 +0200 |
commit | 63ece054671bdd98247e2d89e7ebd72b69078731 (patch) | |
tree | 9a0fac41ed059b64bd5f3dae06a757ed2619e876 /jjb/functest | |
parent | 946726c9d414b56cb29b07088ea015677a88a753 (diff) |
Functest, fix 'if-else' statment 'brahmaputra' instead of 'stable
Also, turn CI_DEBUG to true.
Change-Id: Id5c4c0ab65492b668fc5c22213c03f53faf9f9d8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r-- | jjb/functest/functest-ci-jobs.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index d31b6a846..52f2f61bc 100644 --- a/jjb/functest/functest-ci-jobs.yml +++ b/jjb/functest/functest-ci-jobs.yml @@ -194,7 +194,7 @@ description: "Push the results of all the tests to the resultDB" - string: name: CI_DEBUG - default: 'false' + default: 'true' description: "Show debug output information" ######################## # trigger macros @@ -222,7 +222,7 @@ #!/bin/bash set -e echo "Functest: run $FUNCTEST_SUITE_NAME" - if [[ ${branch} == *"stable"* ]]; then + if [[ ${branch} == *"brahmaputra"* ]]; then cmd="${FUNCTEST_REPO_DIR}/docker/run_tests.sh --test $FUNCTEST_SUITE_NAME" else cmd="python ${FUNCTEST_REPO_DIR}/ci/run_tests.py -t $FUNCTEST_SUITE_NAME" @@ -237,7 +237,7 @@ #!/bin/bash set +e [[ "$PUSH_RESULTS_TO_DB" == "true" ]] && flags+="-r" - if [[ ${branch} == *"stable"* ]]; then + if [[ ${branch} == *"brahmaputra"* ]]; then cmd="${FUNCTEST_REPO_DIR}/docker/run_tests.sh -s ${flags}" else cmd="python ${FUNCTEST_REPO_DIR}/ci/run_tests.py -t all ${flags}" @@ -313,7 +313,7 @@ echo "The container opnfv/functest with ID=${container_id} has not been properly started. Exiting..." exit 1 fi - if [[ ${branch} == *"stable"* ]]; then + if [[ ${branch} == *"brahmaputra"* ]]; then cmd="${FUNCTEST_REPO_DIR}/docker/prepare_env.sh" else cmd="python ${FUNCTEST_REPO_DIR}/ci/prepare_env.py start" |