Functest, fix 'if-else' statment 'brahmaputra' instead of 'stable 83/13483/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Mon, 2 May 2016 07:21:21 +0000 (09:21 +0200)
committerjose.lausuch <jose.lausuch@ericsson.com>
Mon, 2 May 2016 07:21:21 +0000 (09:21 +0200)
Also, turn CI_DEBUG to true.

Change-Id: Id5c4c0ab65492b668fc5c22213c03f53faf9f9d8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
jjb/functest/functest-ci-jobs.yml

index d31b6a8..52f2f61 100644 (file)
             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
             #!/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"
             #!/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}"
                 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"