This is an automated email from the ASF dual-hosted git repository.

panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ab991e142c Update check-pr-if-need-run-build.sh (#23401)
ab991e142c is described below

commit ab991e142c3f5b4e3e099e50234b489b43ebe2d4
Author: Dongyang Li <hello_step...@qq.com>
AuthorDate: Fri Aug 25 14:45:38 2023 +0800

    Update check-pr-if-need-run-build.sh (#23401)
---
 regression-test/pipeline/common/check-pr-if-need-run-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/regression-test/pipeline/common/check-pr-if-need-run-build.sh 
b/regression-test/pipeline/common/check-pr-if-need-run-build.sh
index b12aab4ac4..5f57cd55ad 100755
--- a/regression-test/pipeline/common/check-pr-if-need-run-build.sh
+++ b/regression-test/pipeline/common/check-pr-if-need-run-build.sh
@@ -81,7 +81,7 @@ https://github.com/apache/doris/pull/${PULL_NUMBER}/files all 
change files:
 }
 
 _only_modified_regression_conf() {
-    if [[ ${#added_files[@]} -gt 0 ]]; then echo "Not only modified regression 
conf, find added files" && return 1; fi
+    if [[ -n ${added_files} ]]; then echo "Not only modified regression conf, 
find added files" && return 1; fi
     for f in ${modified_files}; do
         if [[ "${f}" == 
"regression-test/pipeline/p0/conf/regression-conf.groovy" ]] ||
             [[ "${f}" == 
"regression-test/pipeline/p1/conf/regression-conf.groovy" ]]; then


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to