diff --git a/Jenkinsfile b/Jenkinsfile index cc8d42c..7951696 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,11 +3,19 @@ * 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.361.1' ], [ platform: 'windows', jdk: '11', jenkins: '2.361.1' ], // 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.361.2' ], + // NOTE: 2.475+ introduced other breaking changes to ecosystem + //[ platform: 'linux', jdk: '17', jenkins: '2.479.1' ], + + // 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' ], ]) diff --git a/pom.xml b/pom.xml index b1bb1c8..67b54ed 100644 --- a/pom.xml +++ b/pom.xml @@ -1,16 +1,19 @@ 4.0.0 + org.jenkins-ci.plugins plugin 4.88 + io.jenkins.plugins conflict-aware-ondemand-strategy ${revision}.${changelist} hpi + 2 999999-SNAPSHOT @@ -20,8 +23,14 @@ Max Low + Conflict Aware On Demand Retention Strategy Plugin + Extension of the standard "On Demand" launch and + retention strategy for Jenkins build agents such as the + SSH Build Agents, limiting the resource stress on a single + system hosting several such agents. https://github.com/jenkinsci/${project.artifactId}-plugin + 2021