Skip to content

Conversation

@MarkEWaite
Copy link
Contributor

Test with Java 25

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 on ci.jenkins.io 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.

Simplifies the configuration block of the Jenkinsfile so that it more closely resembles the Jenkins plugin archetype.

Requires pull requests:

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
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes

dependabot bot and others added 5 commits September 15, 2025 17:04
Bumps [io.jenkins.tools.incrementals:git-changelist-maven-extension](https://github.com/jenkinsci/incrementals-tools) from 1.10 to 1.13.
- [Release notes](https://github.com/jenkinsci/incrementals-tools/releases)
- [Commits](jenkinsci/incrementals-tools@parent-1.10...parent-1.13)

---
updated-dependencies:
- dependency-name: io.jenkins.tools.incrementals:git-changelist-maven-extension
  dependency-version: '1.13'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [io.jenkins.tools.bom:bom-2.492.x](https://github.com/jenkinsci/bom) from 5054.v620b_5d2b_d5e6 to 5473.vb_9533d9e5d88.
- [Release notes](https://github.com/jenkinsci/bom/releases)
- [Commits](https://github.com/jenkinsci/bom/commits)

---
updated-dependencies:
- dependency-name: io.jenkins.tools.bom:bom-2.492.x
  dependency-version: 5473.vb_9533d9e5d88
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 5.18 to 5.28.
- [Release notes](https://github.com/jenkinsci/plugin-pom/releases)
- [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md)
- [Commits](jenkinsci/plugin-pom@plugin-5.18...plugin-5.28)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:plugin
  dependency-version: '5.28'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
… 'dependabot/maven/io.jenkins.tools.incrementals-git-changelist-maven-extension-1.13' and 'dependabot/maven/io.jenkins.tools.bom-bom-2.492.x-5473.vb_9533d9e5d88' into test-with-java-25
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 on ci.jenkins.io 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.

Simplifies the configuration block of the Jenkinsfile so that it more
closely resembles the Jenkins plugin archetype.

Requires pull requests:

* jenkinsci#514
* jenkinsci#510
* jenkinsci#506

Testing done:

* Confirmed that automated tests pass with Java 25
@MarkEWaite MarkEWaite requested a review from jetersen as a code owner November 16, 2025 06:20
@MarkEWaite MarkEWaite closed this Nov 17, 2025
@MarkEWaite MarkEWaite deleted the test-with-java-25 branch November 17, 2025 00:21
@MarkEWaite MarkEWaite restored the test-with-java-25 branch November 17, 2025 00:22
@MarkEWaite MarkEWaite reopened this Nov 17, 2025
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.

1 participant