From 17d3a8ee7f7420197d8b08a3da6cd466e34d81ff Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Fri, 8 Nov 2024 02:17:27 +0100 Subject: [PATCH 1/4] Update pom.xml for Jenkins core 2.440.x --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1c828dd..22b4010 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ 2 999999-SNAPSHOT jenkinsci/${project.artifactId}-plugin - 2.387.3 + 2.440.3 Max Low @@ -41,8 +41,8 @@ io.jenkins.tools.bom - bom-2.387.x - 2543.vfb_1a_5fb_9496d + bom-2.440.x + 3387.v0f2773fa_3200 import pom From 82552c5dd6d61b6a57bdb58e58530ddd20122885 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Fri, 8 Nov 2024 02:20:26 +0100 Subject: [PATCH 2/4] Update Jenkinsfile for core 2.440.x --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 75cfd43..d50cd4d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,10 +4,10 @@ */ buildPlugin(useContainerAgent: true, configurations: [ // Test the common case (i.e., a recent LTS release) on both Linux and Windows. - [ platform: 'linux', jdk: '11', jenkins: '2.387.3' ], - [ platform: 'windows', jdk: '11', jenkins: '2.387.3' ], + [ platform: 'linux', jdk: '11', jenkins: '2.440.3' ], + [ platform: 'windows', jdk: '11', jenkins: '2.440.3' ], // Test the bleeding edge of the compatibility spectrum (i.e., the latest supported Java runtime). // see also https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ - [ platform: 'linux', jdk: '17', jenkins: '2.401.3' ], + [ platform: 'linux', jdk: '17', jenkins: '2.479.1' ], ]) From 25071cabea0c7b2ee97f24c40d5d5e3ea094b46a Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Fri, 8 Nov 2024 09:36:52 +0100 Subject: [PATCH 3/4] Jenkinsfile: explore older Jenkins core with newer JDK Signed-off-by: Jim Klimov --- Jenkinsfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d50cd4d..dab37c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,5 +9,13 @@ buildPlugin(useContainerAgent: true, configurations: [ // Test the bleeding edge of the compatibility spectrum (i.e., the latest supported Java runtime). // see also https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ - [ platform: 'linux', jdk: '17', jenkins: '2.479.1' ], + // NOTE: 2.475+ introduced other breaking changes to ecosystem + //[ platform: 'linux', jdk: '17', jenkins: '2.479.1' ], + [ platform: 'linux', jdk: '17', jenkins: '2.440.3' ], + [ platform: 'linux', jdk: '21', jenkins: '2.440.3' ], + + // NOTE: LTS https://www.jenkins.io/changelog-stable/#v2.462.3 + // is the last LTS release to support Java 11 + [ platform: 'linux', jdk: '11', jenkins: '2.462.3' ], + [ platform: 'linux', jdk: '17', jenkins: '2.462.3' ], ]) From 9758d8d2716b6fc4298366b42dfae01659b3bd1f Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Fri, 8 Nov 2024 09:45:20 +0100 Subject: [PATCH 4/4] Jenkinsfile: explore older Jenkins core with newer JDK - refine the choices Signed-off-by: Jim Klimov --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dab37c6..13df8aa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,8 @@ * https://github.com/jenkins-infra/pipeline-library/ */ buildPlugin(useContainerAgent: true, configurations: [ - // Test the common case (i.e., a recent LTS release) on both Linux and Windows. + // Test the common case (i.e., a recent LTS release) on both Linux and Windows + // with same core version as the lowest baseline requested by pom.xml [ platform: 'linux', jdk: '11', jenkins: '2.440.3' ], [ platform: 'windows', jdk: '11', jenkins: '2.440.3' ], @@ -11,11 +12,10 @@ buildPlugin(useContainerAgent: true, configurations: [ // see also https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ // NOTE: 2.475+ introduced other breaking changes to ecosystem //[ platform: 'linux', jdk: '17', jenkins: '2.479.1' ], - [ platform: 'linux', jdk: '17', jenkins: '2.440.3' ], - [ platform: 'linux', jdk: '21', jenkins: '2.440.3' ], // NOTE: LTS https://www.jenkins.io/changelog-stable/#v2.462.3 // is the last LTS release to support Java 11 [ platform: 'linux', jdk: '11', jenkins: '2.462.3' ], [ platform: 'linux', jdk: '17', jenkins: '2.462.3' ], + [ platform: 'linux', jdk: '21', jenkins: '2.462.3' ], ])