From 1424e8f1b792091e1d508331399de17f2cd82d15 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sun, 13 Aug 2023 10:09:38 -0600 Subject: [PATCH] Test with Java 21 (#204) Java 21 will release Sep 19, 2023. We'd like to support it with Jenkins core and Jenkins plugins shortly after release. --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 633fc886..7e6d6ac6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,9 +8,10 @@ buildPlugin( useContainerAgent: true, // Show failures on all configurations failFast: false, - // Test Java 11 and Java 17 + // Test Java 11, 17, and 21 configurations: [ [platform: 'linux', jdk: '17'], // Linux first for coverage report on ci.jenkins.io + [platform: 'linux', jdk: '21', jenkins: '2.414'], [platform: 'windows', jdk: '11'], ] )