From d00f1b14aa2bb6c32f0f6b8e8a2af7d0bc66a290 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Wed, 22 May 2024 15:24:14 +0200 Subject: [PATCH] kie-issues#1237: stay on x.y.999-SNAPSHOT in release branches --- .ci/jenkins/project/Jenkinsfile.setup-branch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/jenkins/project/Jenkinsfile.setup-branch b/.ci/jenkins/project/Jenkinsfile.setup-branch index defcc61f84c..e50bd30b4da 100644 --- a/.ci/jenkins/project/Jenkinsfile.setup-branch +++ b/.ci/jenkins/project/Jenkinsfile.setup-branch @@ -215,7 +215,7 @@ String getDroolsVersion() { return params.DROOLS_VERSION ?: getVersionFromReleaseBranch(getBuildBranch()) } -String getVersionFromReleaseBranch(String releaseBranch, int microVersion = 0, String suffix = 'SNAPSHOT') { +String getVersionFromReleaseBranch(String releaseBranch, int microVersion = 999, String suffix = 'SNAPSHOT') { String [] versionSplit = releaseBranch.split("\\.") if (versionSplit.length == 3 && versionSplit[0].isNumber()