summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-09-26 02:23:07 +0000
committerLinda Wang <wangwulin@huawei.com>2017-09-26 02:23:07 +0000
commitb052e7c4b5a8c34182c9c2e53c2fed261a4cc339 (patch)
treeec5cbe99ebd2faed8b9494c508d6eab5345cc322 /jjb
parent7ac409f0707511607a1e526030686a6791fa08ac (diff)
[Functest] Avoid reporting results for suite job
Change-Id: I182962570fc88e181f312ad432daf774b79e44f1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/functest/functest-alpine.sh2
1 files changed, 2 insertions, 0 deletions
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