You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by pa...@apache.org on 2023/07/24 13:04:30 UTC
[doris] branch master updated: [pipeline](check) update check-pr-if-need-run-build.sh (#22171)
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 9fe470b273 [pipeline](check) update check-pr-if-need-run-build.sh (#22171)
9fe470b273 is described below
commit 9fe470b2739f3add832917857dbfa93c55b40e75
Author: Dongyang Li <he...@qq.com>
AuthorDate: Mon Jul 24 21:04:23 2023 +0800
[pipeline](check) update check-pr-if-need-run-build.sh (#22171)
no need to run pipeline if only modify regression-test/pipeline/p0/conf/regression-conf.groovy or regression-test/pipeline/p1/conf/regression-conf.groovy
---
.../pipeline/common/check-pr-if-need-run-build.sh | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
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 10a32a2546..452f448315 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,11 +81,15 @@ https://github.com/apache/doris/pull/${PULL_NUMBER}/files all change files:
}
_only_modified_regression_conf() {
- if [[ ${modified_files} == "regression-test/conf/regression-conf.groovy" ]]; then
- echo "only modified regression conf" && return 0
- else
- echo "Not only modified regression conf" && 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
+ continue
+ else
+ echo "Not only modified regression conf" && return 1
+ fi
+ done
+ echo "only modified regression conf" && return 0
}
need_run_fe_ut() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org