Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pom.xml for Jenkins core 2.440.x #235

Merged
merged 4 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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