From bcd8ce33c161ed00cf7858950a8b7b56d4620987 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 3 Nov 2023 21:54:44 -0600 Subject: [PATCH] Test with Java 21 Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 in November and would like the most used plugins to be compiled and tested with Java 21. The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21. The change intentionally tests only two Java configurations, Java 17 and Java 21 because the risk of a regression that only affects Java 11 is low. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code. --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6f3375f..227bde3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,6 @@ def configurations = [ - [ platform: "linux", jdk: "11" ] + [ platform: "linux", jdk: "21" ], + [ platform: "linux", jdk: "17" ] ] buildPlugin(failFast: false, configurations: configurations)