Skip to content

Commit

Permalink
Merge pull request #89 from jimklimov/pom-bump
Browse files Browse the repository at this point in the history
Pom bump
  • Loading branch information
jimklimov authored Nov 8, 2024
2 parents 87bf5d4 + 37e3a58 commit 48bc700
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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' ],
])
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.88</version>
<relativePath />
</parent>

<groupId>io.jenkins.plugins</groupId>
<artifactId>conflict-aware-ondemand-strategy</artifactId>
<version>${revision}.${changelist}</version>
<packaging>hpi</packaging>

<properties>
<revision>2</revision>
<changelist>999999-SNAPSHOT</changelist>
Expand All @@ -20,8 +23,14 @@
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
</properties>

<name>Conflict Aware On Demand Retention Strategy Plugin</name>
<description>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.</description>
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
<inceptionYear>2021</inceptionYear>

<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 48bc700

Please sign in to comment.