From 4f110cada5e2b105b62226a4cc7396454e68f2b4 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Wed, 22 May 2024 15:27:10 +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 c31c667bb8c..f93412ebe4d 100644 --- a/.ci/jenkins/project/Jenkinsfile.setup-branch +++ b/.ci/jenkins/project/Jenkinsfile.setup-branch @@ -204,7 +204,7 @@ String getOptaPlannerVersion() { return params.OPTAPLANNER_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()