Skip to content

Commit

Permalink
Merge pull request #235 from jenkinsci/jimklimov-patch-1
Browse files Browse the repository at this point in the history
Update pom.xml for Jenkins core 2.440.x
  • Loading branch information
jimklimov authored Nov 8, 2024
2 parents 1ec4e1e + 9758d8d commit 0025aa0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
16 changes: 12 additions & 4 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.
[ platform: 'linux', jdk: '11', jenkins: '2.387.3' ],
[ platform: 'windows', jdk: '11', jenkins: '2.387.3' ],
// 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.440.3' ],
[ platform: 'windows', jdk: '11', jenkins: '2.440.3' ],

// 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.401.3' ],
// 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' ],
])
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<revision>2</revision>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.387.3</jenkins.version>
<jenkins.version>2.440.3</jenkins.version>
<!-- Note: keep in sync with io.jenkins.tools.bom version below -->
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
Expand All @@ -41,8 +41,8 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.387.x</artifactId>
<version>2543.vfb_1a_5fb_9496d</version>
<artifactId>bom-2.440.x</artifactId>
<version>3387.v0f2773fa_3200</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down

0 comments on commit 0025aa0

Please sign in to comment.