From 81c37397ef1c12ec9ddd6475990703a89f2b57ba Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 25 Oct 2025 11:33:47 -0600 Subject: [PATCH] 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. Testing done: * Confirmed that automated tests pass with Java 25 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 534344b..c31c942 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,6 @@ /* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ buildPlugin(useContainerAgent: true, configurations: [ - [platform: 'linux', jdk: 21], - [platform: 'windows', jdk: 17], + [platform: 'linux', jdk: 25], + [platform: 'windows', jdk: 21], ])