Skip to content

Commit 9731ef5

Browse files
committed
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 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. Needs pull request: * jenkinsci#462 Testing done: * Confirmed that automated tests pass with Java 25 * Confirmed that DurableTaskStepTest fails on Fedora 43 with Java 21 and Java 25 * Confirmed that DurableTaskStepTest passes on Ubuntu 22.04 with Java 21 and Java 25
1 parent 0bc8f09 commit 9731ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ https://github.com/jenkins-infra/pipeline-library/
77
buildPlugin(
88
useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests
99
configurations: [
10-
[platform: 'linux', jdk: 21],
11-
[platform: 'windows', jdk: 17],
10+
[platform: 'linux', jdk: 25],
11+
[platform: 'windows', jdk: 21],
1212
])

0 commit comments

Comments
 (0)