From 6a6f6ad69065e4a23f5d459f0c4f55730c4c0452 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Thu, 22 Jan 2026 22:03:01 -0700 Subject: [PATCH 1/2] Restore Java 17 compile with parent pom 6.2116.v7501b_67dc517 Parent pom 6.2108.v08c2b_01b_cf4d incorrectly forced Java 21 compilation. That breaks the plugin BOM. Use a newer version that works with Java 17. Detected in pull request: * https://github.com/jenkinsci/bom/pull/6285 Testing done: * Confirmed that Java 17 compilation fails without this change * Confirmed that Java 17 compilation works with this change --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e8166b1d..d89bd2a0 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ org.jenkins-ci.plugins plugin - 6.2108.v08c2b_01b_cf4d + 6.2116.v7501b_67dc517 org.jenkins-ci.plugins.workflow From 4a176c4553676840e31d357c10874e738084f743 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Thu, 22 Jan 2026 22:05:50 -0700 Subject: [PATCH 2/2] Test with Java 17 Was not necessary previously, but since we've seen a bug in the parent pom that causes us to use the wrong compiler, let's test with Java 17. --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 935e7354..47f071bb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,4 +3,5 @@ buildPlugin( configurations: [ [platform: 'linux', jdk: 25], [platform: 'windows', jdk: 21], + [platform: 'linux', jdk: 17], ])