-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api.adoptium.net broke with two list for 21.0.1+12 #829
Comments
@johnoliver suspect this is an issue with the Jenkins plugin but can you check to see our API is being consistent? |
Binaries of version jdk-21.0.1+12 are effectively not grouped under the same result, the Windows one outside of the rest. (see above) Maybe a solution is to append the expected os and architecture to the REST call.
|
This is expected behaviour, the two versions of the releases are:
and
Note that they have different The solution would be to either search all releases for the asset you are looking for, or as @xavierfacq says, make your query more specific to ensure that all returned releases contain an asset that meets your requirements. |
api.adoptium.net may respond with a duplicate release name if a new build was required [1]. In this case, adopt_build_number should be present and incremented. > Note that they have different adopt_build_number, in effect openjdk_version to Adoptium releases are not 1:1 within the API, and therefore will be grouped into different release lists. As in this case we might re-spin a release, this would modify the adopt_build_number but would map to the same openjdk_version since they are built from the same tag of the OpenJDK repo, and would map to the same version in the upstream project. [1] adoptium/api.adoptium.net#829 Should fix JENKINS-72319 Unable to install JDK 21.0.
* Merge JDK release binaries if it shares a release name api.adoptium.net may respond with a duplicate release name if a new build was required [1]. In this case, adopt_build_number should be present and incremented. > Note that they have different adopt_build_number, in effect openjdk_version to Adoptium releases are not 1:1 within the API, and therefore will be grouped into different release lists. As in this case we might re-spin a release, this would modify the adopt_build_number but would map to the same openjdk_version since they are built from the same tag of the OpenJDK repo, and would map to the same version in the upstream project. [1] adoptium/api.adoptium.net#829 Should fix JENKINS-72319 Unable to install JDK 21.0. * Update adoptopenjdk.groovy Co-authored-by: Mark Waite <[email protected]> --------- Co-authored-by: Mark Waite <[email protected]>
Please provide a brief summary of the bug
See this report: https://issues.jenkins.io/browse/JENKINS-72319
We have the same issue here that we cannot use jenkins global tools to install, due to the issues with the api return.
Thanks.
Please provide steps to reproduce where possible
See error: https://build.ci.opensearch.org/blue/organizations/jenkins/publish-opensearch-min-snapshots/detail/publish-opensearch-min-snapshots/432/pipeline/
Expected Results
Able to install the macos artifact on x64 mac with hotspot temurin 21.
Actual Results
Not able to found the binary, and there are two list of the 21.0.1+12.
What Java Version are you using?
21.0.1+12
What is your operating system and platform?
No response
How did you install Java?
No response
Did it work before?
No response
Did you test with the latest update version?
No response
Did you test with other Java versions?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: