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 dcabc06510e [fix](pipeline) update check-pr-if-need-run-build.sh 
(#24515)
dcabc06510e is described below

commit dcabc06510e1e8151da7af2aef519622c831dc5f
Author: Dongyang Li <[email protected]>
AuthorDate: Mon Sep 18 17:18:23 2023 +0800

    [fix](pipeline) update check-pr-if-need-run-build.sh (#24515)
    
    update check-pr-if-need-run-build.sh
---
 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 5f57cd55adc..c33422f7cb7 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 [[ -n ${added_files} ]]; then echo "Not only modified regression conf, 
find added files" && return 1; fi
+    if [[ -n ${added_files} || -n ${removed_files} ]]; then echo "Not only 
modified regression conf, find added/removed 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to