• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • adoptopenjdk-plugin
    • None
    • 1.5

      As adoptopenjdk is moving to Eclipse the new distributions can be downloaded from https://adoptium.net/. The API for retrieving the binaries is IMHO the same as before so it should just be a matter of switching the endpoint URL (https://api.adoptium.net/q/swagger-ui/).

          [JENKINS-66455] Support Eclipse Temurin

          The change is trivial but will remove support for OpenJ9 builds. Should we just do a release of the plugin including a note about removing OpenJ9?

          Mads Mohr Christensen added a comment - The change is trivial but will remove support for OpenJ9 builds . Should we just do a release of the plugin including a note about removing OpenJ9?

          Ian Williams added a comment -

          IBM has announced support for OpenJ9, calling it Semeru, and making binaries available for download.

          As I see it, there are two options:

          • either enhance this plugin to support both endpoints, retaining the existing flexibility to choose from Hotspot/Openj9 aka Temurin / Semeru (.. who chooses these names?)
          • or, deprecate this plugin and replace with two plugins, one each for Temurin / Semeru.

          My preference is for a single plugin. This could also be extended to include Azul binaries or Microsoft build JDK and others.

          This could be done hard-coded or via an option in the Global Configuration to add user-configurable/selectable locations.

          Ian Williams added a comment - IBM has announced support for OpenJ9 , calling it Semeru, and making binaries available for download . As I see it, there are two options: either enhance this plugin to support both endpoints, retaining the existing flexibility to choose from Hotspot/Openj9 aka Temurin / Semeru (.. who chooses these names?) or, deprecate this plugin and replace with two plugins, one each for Temurin / Semeru. My preference is for a single plugin. This could also be extended to include Azul binaries or Microsoft build JDK and others. This could be done hard-coded or via an option in the Global Configuration to add user-configurable/selectable locations.

          Benoit added a comment -

          The problem is more in the crawler script, than in the plugin:
          https://github.com/jenkins-infra/crawler/blob/master/adoptopenjdk.groovy

          However, the migration seems not too hard:
          https://api.adoptopenjdk.net/migration.html

          Benoit added a comment - The problem is more in the crawler script, than in the plugin: https://github.com/jenkins-infra/crawler/blob/master/adoptopenjdk.groovy However, the migration seems not too hard: https://api.adoptopenjdk.net/migration.html

          Petr H added a comment -

          adoptopenjdk.net will stop getting new builds this july, so approx. 2 months from now. It would be really great to update this plugin before it happens.

          Petr H added a comment - adoptopenjdk.net will stop getting new builds this july, so approx. 2 months from now. It would be really great to update this plugin before it happens.

          Mark Waite added a comment -

          The Jenkins platform SIG stopped support of OpenJ9 and closed issues related to OpenJ9 several months ago. We don't have enough people in the platform SIG that are interested in OpenJ9 for it to be a viable Jenkins platform. It was used briefly to support JDK 8 on s390x. Since JDK 8 will soon be end of life for the Jenkins project, we use the hostspot virtual machines for JDK 11 and JDK 17 on s390x.

          Mark Waite added a comment - The Jenkins platform SIG stopped support of OpenJ9 and closed issues related to OpenJ9 several months ago. We don't have enough people in the platform SIG that are interested in OpenJ9 for it to be a viable Jenkins platform. It was used briefly to support JDK 8 on s390x. Since JDK 8 will soon be end of life for the Jenkins project, we use the hostspot virtual machines for JDK 11 and JDK 17 on s390x.

          Ian Williams added a comment -

          markewaite , I thought this Jira was to ensure the "AdoptOpenJDK installer plugin" continue to be able to retrieve Temurin JDK binaries from adoptium.net, following the announcement that "AdoptOpenJDK is moving to the Eclipse Foundation"

          That plugin provides similar functionality to the Oracle Java SE Development Kit Installer plugin, providing specific JDK to Jobs, which is independent of the Java version running Jenkins platform itself.

          My remark was aligned with mmchr's remark that OpenJ9 JDK would no longer be available from AdoptOpenJDK and instead be served as Semeru from IBM.

          However while Mads remark was to clarify (ie: document) OpenJ9 would no longer be available (ie: only Temurin, from Adoptium), my expressed preference was to enhance the "OpenJDK" plugin to support installing multiple flavors of JDK from the most popular providers, at least to continue with the OpenJ9 retrieval from IBM. The the alternative will be a proliferation multiple provider specific JDK installer plugins.

          Ian Williams added a comment - markewaite , I thought this Jira was to ensure the " AdoptOpenJDK installer plugin " continue to be able to retrieve Temurin JDK binaries from adoptium.net , following the announcement that " AdoptOpenJDK is moving to the Eclipse Foundation " That plugin provides similar functionality to the Oracle Java SE Development Kit Installer plugin , providing specific JDK to Jobs, which is independent of the Java version running Jenkins platform itself. My remark was aligned with mmchr 's remark that OpenJ9 JDK would no longer be available from AdoptOpenJDK and instead be served as Semeru from IBM . However while Mads remark was to clarify (ie: document) OpenJ9 would no longer be available (ie: only Temurin, from Adoptium), my expressed preference was to enhance the "OpenJDK" plugin to support installing multiple flavors of JDK from the most popular providers, at least to continue with the OpenJ9 retrieval from IBM. The the alternative will be a proliferation multiple provider specific JDK installer plugins.

          Basil Crow added a comment -

          my expressed preference was to enhance the "OpenJDK" plugin to support installing multiple flavors of JDK from the most popular providers, at least to continue with the OpenJ9 retrieval from IBM. The the alternative will be a proliferation multiple provider specific JDK installer plugins.

          I think that is a decent idea, but I am not aware of anyone who has committed to implementing it. If nobody implements this, you can consider opening a pull request to make your expressed preference a reality.

          Basil Crow added a comment - my expressed preference was to enhance the "OpenJDK" plugin to support installing multiple flavors of JDK from the most popular providers, at least to continue with the OpenJ9 retrieval from IBM. The the alternative will be a proliferation multiple provider specific JDK installer plugins. I think that is a decent idea, but I am not aware of anyone who has committed to implementing it. If nobody implements this, you can consider opening a pull request to make your expressed preference a reality.

          Is it just me or is this plugin completely unusable now?

          matthew winfield added a comment - Is it just me or is this plugin completely unusable now?

          Mark Waite added a comment -

          mwinfield I'm using the most recent pre-release build of the Temurin improvement pull request to this plugin successfully. Can you describe in more detail what makes the plugin "completely unusable" for you?

          Mark Waite added a comment - mwinfield I'm using the most recent pre-release build of the Temurin improvement pull request to this plugin successfully. Can you describe in more detail what makes the plugin "completely unusable" for you?

          All of the old archived versions from AdoptOpenJDK have been removed as an option from the automatically installed from adoptopenjdk.net option. All the versions that are left are not being installed on build nodes so we are having to move everything to install from .zip/.tar

          matthew winfield added a comment - All of the old archived versions from AdoptOpenJDK have been removed as an option from the automatically installed from adoptopenjdk.net option. All the versions that are left are not being installed on build nodes so we are having to move everything to install from .zip/.tar

          It seems to be related to AdoptOpenJDK moving release to Adoptium. Something changed last week on that end as we saw one Jenkins instance impacted a couple days before our other Jenkins instance also break. It looked like one received an updated listed from the site before the other possibly due to CDN.

          matthew winfield added a comment - It seems to be related to AdoptOpenJDK moving release to Adoptium. Something changed last week on that end as we saw one Jenkins instance impacted a couple days before our other Jenkins instance also break. It looked like one received an updated listed from the site before the other possibly due to CDN.

          Mark Waite added a comment -

          The crawler that identifies packages for the plugin was updated last week . It no longer delivers Java releases that are not supported by Adoptium (like Java 9, Java 10, Java 12).

          If you need those old versions, then download from zip/tar is the best choice.

          Download from zip/tar is the preferred choice even for available versions, since it is better to locally download the 100+ MB zip or tar file than to request it from Adoptium over the public internet.

          Mark Waite added a comment - The crawler that identifies packages for the plugin was updated last week . It no longer delivers Java releases that are not supported by Adoptium (like Java 9, Java 10, Java 12). If you need those old versions, then download from zip/tar is the best choice. Download from zip/tar is the preferred choice even for available versions, since it is better to locally download the 100+ MB zip or tar file than to request it from Adoptium over the public internet.

          Basil Crow added a comment -

          Fixed in jenkinsci/adoptopenjdk-plugin#23. Released in 1.5.

          Basil Crow added a comment - Fixed in jenkinsci/adoptopenjdk-plugin#23 . Released in 1.5 .

            basil Basil Crow
            kwin Konrad Windszus
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: