From e9f05fd37954ba2c2e7dadad2a9bf745511459e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Dec 2022 23:05:09 +0000 Subject: [PATCH 1/3] Bump plugin from 4.51 to 4.52 Bumps [plugin](https://github.com/jenkinsci/plugin-pom) from 4.51 to 4.52. - [Release notes](https://github.com/jenkinsci/plugin-pom/releases) - [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md) - [Commits](https://github.com/jenkinsci/plugin-pom/compare/plugin-4.51...plugin-4.52) --- updated-dependencies: - dependency-name: org.jenkins-ci.plugins:plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7e1ad98c..ba86e1b7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.jenkins-ci.plugins plugin - 4.51 + 4.52 configurationslicing From ace3230002e31e5291f6d9ada1aec34ee67b5908 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 5 Dec 2022 20:09:02 -0700 Subject: [PATCH 2/3] Require Jenkins 2.361.4 or newer Require Java 11 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ba86e1b7..6452a2e8 100644 --- a/pom.xml +++ b/pom.xml @@ -32,13 +32,13 @@ false suppressed-spotbug-errors.xml 8 - 2.332.4 + 2.361.4 io.jenkins.tools.bom - bom-2.332.x + bom-2.361.x 1723.vcb_9fee52c9fc pom import From 70d85b250f0801cc4f497f12566cd91f3f0f304f Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 5 Dec 2022 20:09:55 -0700 Subject: [PATCH 3/3] Test with Java 11 and Java 17 in CI --- Jenkinsfile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6cd0468a..138ffa5a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,2 +1,15 @@ -// Builds the plugin using https://github.com/jenkins-infra/pipeline-library -buildPlugin(/**TODO: Update Plugin POM: buildPlugin.recommendedConfigurations()**/) +#!/usr/bin/env groovy + +/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ +buildPlugin( + // Container agents start faster and are easier to administer + useContainerAgent: true, + // Show failures on all configurations + failFast: false, + // Test Java 11 with a recent LTS, Java 17 even more recent + configurations: [ + [platform: 'linux', jdk: '17', jenkins: '2.380'], + [platform: 'linux', jdk: '11', jenkins: '2.375.1'], + [platform: 'windows', jdk: '11'] + ] +)