From: Linda Wang Date: Tue, 26 Sep 2017 02:23:07 +0000 (+0000) Subject: [Functest] Avoid reporting results for suite job X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=b052e7c4b5a8c34182c9c2e53c2fed261a4cc339 [Functest] Avoid reporting results for suite job Change-Id: I182962570fc88e181f312ad432daf774b79e44f1 Signed-off-by: Linda Wang --- diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index 89cf8b479..8ede529a1 100755 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -6,6 +6,7 @@ set +o pipefail run_tiers() { cmd_opt='prepare_env start && run_tests -r -t all' + [[ $BUILD_TAG =~ "suite" ]] && cmd_opt='prepare_env start && run_tests -t all' ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value" echo 0 > ${ret_val_file} @@ -26,6 +27,7 @@ run_tiers() { run_test() { test_name=$1 cmd_opt='prepare_env start && run_tests -r -t $test_name' + [[ $BUILD_TAG =~ "suite" ]] && cmd_opt='prepare_env start && run_tests -t $test_name' ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value" echo 0 > ${ret_val_file} # Determine which Functest image should be used for the test case