Skip to content

Test with Java 25#633

Merged
kuisathaverat merged 1 commit into
jenkinsci:mainfrom
MarkEWaite:test-with-java-25
Oct 26, 2025
Merged

Test with Java 25#633
kuisathaverat merged 1 commit into
jenkinsci:mainfrom
MarkEWaite:test-with-java-25

Conversation

@MarkEWaite

Copy link
Copy Markdown
Contributor

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

  • Confirmed that automated tests pass with Java 25

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

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
Copilot AI review requested due to automatic review settings October 26, 2025 11:34
@MarkEWaite
MarkEWaite requested a review from a team as a code owner October 26, 2025 11:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CI build configuration to test with Java 25 (released September 16, 2025) alongside Java 21, in preparation for the Jenkins project's upcoming support for Java 25. The change aligns with the plan to support only two major Java versions concurrently (Java 21 and 25) while maintaining Java 17 bytecode generation.

Key Changes:

  • Updated Linux platform CI configuration from Java 21 to Java 25
  • Maintained Windows platform testing on Java 21

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kuisathaverat
kuisathaverat merged commit d577bdd into jenkinsci:main Oct 26, 2025
16 checks passed
@MarkEWaite
MarkEWaite deleted the test-with-java-25 branch October 27, 2025 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants