Skip to content

Commit

Permalink
jdk23+ update version GA tag check should be using updates repo (adop…
Browse files Browse the repository at this point in the history
…tium#1127)

* jdk-23.0.1 release jdkBranch GA tag check using wrong repo

Signed-off-by: Andrew Leonard <anleonar@redhat.com>

* jdk-23.0.1 release jdkBranch GA tag check using wrong repo

Signed-off-by: Andrew Leonard <anleonar@redhat.com>

---------

Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Oct 16, 2024
1 parent 38a20c0 commit 042ad21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipelines/build/openjdk_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Map<String, ?> 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 {
Expand Down

0 comments on commit 042ad21

Please sign in to comment.