Conversation
Java 25 released September 16, 2025. The Jenkins project wants to support Java 25 soon. Compile and test on ci.jenkins.io with Java 25 and Java 21. Intentionally continues to generate Java 17 byte code as configured by the plugin parent pom. Does not compile or test with Java 17 any longer because we have found no issues in the past that were specific to the Java 17 compiler. The plan is to drop support for Java 17 in the not too distant future so that the Jenkins project is only supporting two major Java versions at a time, Java 21 and Java 25. Testing done: * Confirmed that automated tests pass with Java 25
So why is Linux JDK 21 dropped from CI? |
We've detected no issues by running multiple Java versions on the same operating system. Duplicating the tests by running tests with Java 21 and Java 25 increases cloud cost for the projects without adding any increase in reliability. If that's not acceptable for you, let me know and I'll adjust the pull request to restore the Java 21 test on Linux. I'd rather add Java 25 testing than debate test duplication in a single plugin. The plugin archetype and almost all plugins do not test multiple Java versions on a single platform, but if it is important to you as a maintainer, I'm willing to add it to the pull request. |
|
@asimell is there something more that I need to do in order for this to be merged? |
|
@MarkEWaite Thanks for the reminder. My kids managed to lock my account and it took two weeks to unlock it. I got my computer working last week by which I had already completely forgotten this PR existed. The PR in itself is very simple and straightforward. I just haven't set up my local environment to build with Java 25, which I want to do before merging |
Test with Java 25 and Java 21
Java 25 released September 16, 2025. The Jenkins project wants to support Java 25 soon. Compile and test on ci.jenkins.io with Java 25 and Java 21.
Intentionally continues to generate Java 17 byte code as configured by the plugin parent pom.
Does not compile or test with Java 17 any longer because we have found no issues in the past that were specific to the Java 17 compiler. The plan is to drop support for Java 17 in the not too distant future so that the Jenkins project is only supporting two major Java versions at a time, Java 21 and Java 25.
Testing done
Submitter checklist