From 2f5f5423c4caece59e33d9ed853639a56d5af74c Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Fri, 26 Jan 2024 11:43:12 +0800 Subject: [PATCH] DAOS-15084 pipeline: check more commits for base branch Then allow build PR with longer merge history. Signed-off-by: Fan Yong --- vars/distroVersion.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/distroVersion.groovy b/vars/distroVersion.groovy index 8a2192f23..dd412efc7 100755 --- a/vars/distroVersion.groovy +++ b/vars/distroVersion.groovy @@ -25,7 +25,7 @@ String call(String distro) { // find the base branch branch = sh(label: 'Find base branch', script: '''set -eux -o pipefail - max_commits=200 + max_commits=300 base_branch_re='^ origin/(master|release/)' n=0 while [ "$n" -lt "$max_commits" ]; do