Skip to content

Commit

Permalink
pom.xml, Jenkinsfile: bump Jenkins core requirement to 2.479.1 as nee…
Browse files Browse the repository at this point in the history
…ded by new JDK17+ ecosystem baseline

Signed-off-by: Jim Klimov <jimklimov+jenkinsci@gmail.com>
  • Loading branch information
jimklimov committed Nov 8, 2024
1 parent f3893ac commit ea4fce0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
13 changes: 3 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@
buildPlugin(useContainerAgent: true, configurations: [
// 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' ],
[ platform: 'linux', jdk: '17', jenkins: '2.479.1' ],
[ platform: 'windows', jdk: '17', jenkins: '2.479.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/
// 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' ],
[ platform: 'linux', jdk: '21', jenkins: '2.484' ],
])
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.440.3</jenkins.version>
<jenkins.version>2.479.1</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.440.x</artifactId>
<version>3435.v238d66a_043fb_</version>
<artifactId>bom-2.479.x</artifactId>
<version>3613.v584fca_12cf5c</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down

0 comments on commit ea4fce0

Please sign in to comment.