Skip to content

Commit 1ed9f03

Browse files
authored
Test with Java 25 and Java 21 (#1826)
Java 25 released in September 2025 and the Jenkins project wants to support it soon after its release. This pull request updates the plugin to compile and test with Java 25 and Java 21. The Java byte code continues to be Java 17 byte code from both those compilers due to the configuration of the plugin pom. That is intentional because we continue to support Java 17 but we don't need to compile and test with Java 17. We've seen no issues that were specific to Java 17. Testing done: * Confirmed that tests are successfil with Java 25
1 parent 7534d4c commit 1ed9f03

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 @@ buildPlugin(
77
// we use Docker for containerized tests
88
useContainerAgent: false,
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)