From 042ad21e30ff512605dce7aa365c16f3ee9a9bb8 Mon Sep 17 00:00:00 2001 From: Andrew Leonard <31470007+andrew-m-leonard@users.noreply.github.com> Date: Wed, 16 Oct 2024 15:47:28 +0100 Subject: [PATCH] jdk23+ update version GA tag check should be using updates repo (#1127) * jdk-23.0.1 release jdkBranch GA tag check using wrong repo Signed-off-by: Andrew Leonard * jdk-23.0.1 release jdkBranch GA tag check using wrong repo Signed-off-by: Andrew Leonard --------- Signed-off-by: Andrew Leonard --- pipelines/build/openjdk_pipeline.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipelines/build/openjdk_pipeline.groovy b/pipelines/build/openjdk_pipeline.groovy index c5cdc5702..d4e85f5c9 100644 --- a/pipelines/build/openjdk_pipeline.groovy +++ b/pipelines/build/openjdk_pipeline.groovy @@ -26,7 +26,8 @@ Map DEFAULTS_JSON = null def findGaCommitSHA(String jdkVersion, String jdkBranch, Boolean annotatedTag) { // Determine OpenJDK and Adoptium mirror repository def repo - if (jdkVersion.toInteger() >= 23) { + // Is it a jdk-23+ stablizationjdk branch version? ie.jdk-23, jdk-24, ... + if (jdkVersion.toInteger() >= 23 && !jdkBranch.contains(".0")) { // jdk-23+ first release is a branch within the jdk(head) repository repo = "jdk" } else {