diff --git a/Jenkinsfile b/Jenkinsfile index 6cd0468..138ffa5 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'] + ] +) diff --git a/pom.xml b/pom.xml index af32800..c34cb98 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.jenkins-ci.plugins plugin - 4.51 + 4.52 configurationslicing @@ -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