From 4c5283037693f68ba6a9902615bb54aa2d9fee30 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Thu, 1 Dec 2022 16:58:52 -0700 Subject: [PATCH] Require Java 11 Require Jenkins 2.361.4 or newer. https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ offers Jenkins 2.361.4 as one of the recommended versions. Java 11 or newer is required for Jenkins 2.361.4 and for the most recent releases of the parent pom. --- Jenkinsfile | 10 +++++----- pom.xml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 30dc2b2b..ebd5ecda 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,13 +6,13 @@ buildPlugin( useContainerAgent: true, // Show failures on all configurations failFast: false, - // Opt-in to the Artifact Caching Proxy, to be removed when it will be in opt-out. + // Opt-in to the Artifact Caching Proxy, to be removed when it will be opt-out. // See https://github.com/jenkins-infra/helpdesk/issues/2752 for more details and updates. artifactCachingProxyEnabled: true, - // Test Java 8 with default Jenkins version, Java 11 with a recent LTS, Java 17 even more recent + // Test Java 11 with a recent LTS, Java 17 even more recent configurations: [ - [platform: 'linux', jdk: '17', jenkins: '2.375'], - [platform: 'linux', jdk: '11', jenkins: '2.361.4'], - [platform: 'windows', jdk: '8'] + [platform: 'linux', jdk: '17', jenkins: '2.380'], + [platform: 'linux', jdk: '11', jenkins: '2.375.1'], + [platform: 'windows', jdk: '11'] ] ) diff --git a/pom.xml b/pom.xml index 19196cae..52a40fcc 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,7 @@ io.jenkins.tools.bom - bom-2.346.x + bom-2.361.x 1723.vcb_9fee52c9fc import pom @@ -140,7 +140,7 @@ 999999-SNAPSHOT jenkinsci/testng-plugin-plugin - 2.346.3 + 2.361.4 Max true