From 4e7be0c2cd4a398808cb7d525ff896098b5c2286 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 25 Oct 2025 08:04:57 -0600 Subject: [PATCH] Test with Java 25 and Java 21 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 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 18900072c3..c234a4244f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,6 @@ buildPlugin( // we use Docker for containerized tests useContainerAgent: false, configurations: [ - [platform: 'linux', jdk: 21], - [platform: 'windows', jdk: 17], + [platform: 'linux', jdk: 25], + [platform: 'windows', jdk: 21], ])