From 86f19ae669ac621ee94a8b63a693de09323da7bb Mon Sep 17 00:00:00 2001 From: Bruno Verachten Date: Mon, 2 Oct 2023 21:14:36 +0200 Subject: [PATCH] Test with Java 21 (#736) * Add a JDK21 Jenkinsfile for ci.jenkins.io * Update Jenkinsfile --- Jenkinsfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8d38b971d..9bdbcc7d2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,10 @@ -buildPlugin(useContainerAgent: true, configurations: [ - [platform: 'linux', jdk: 17], - [platform: 'windows', jdk: 11], +/* + See the documentation for more options: + https://github.com/jenkins-infra/pipeline-library/ +*/ +buildPlugin( + useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests + configurations: [ + [platform: 'linux', jdk: 21], + [platform: 'windows', jdk: 17], ])