From dcabc06510e1e8151da7af2aef519622c831dc5f Mon Sep 17 00:00:00 2001 From: Dongyang Li Date: Mon, 18 Sep 2023 17:18:23 +0800 Subject: [PATCH] [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 5f57cd55ad..c33422f7cb 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