Skip to content

Commit 4c52830

Browse files
committed
Require Java 11
Require Jenkins 2.361.4 or newer. https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ offers Jenkins 2.361.4 as one of the recommended versions. Java 11 or newer is required for Jenkins 2.361.4 and for the most recent releases of the parent pom.
1 parent a080a6b commit 4c52830

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Jenkinsfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ buildPlugin(
66
useContainerAgent: true,
77
// Show failures on all configurations
88
failFast: false,
9-
// Opt-in to the Artifact Caching Proxy, to be removed when it will be in opt-out.
9+
// Opt-in to the Artifact Caching Proxy, to be removed when it will be opt-out.
1010
// See https://github.com/jenkins-infra/helpdesk/issues/2752 for more details and updates.
1111
artifactCachingProxyEnabled: true,
12-
// Test Java 8 with default Jenkins version, Java 11 with a recent LTS, Java 17 even more recent
12+
// Test Java 11 with a recent LTS, Java 17 even more recent
1313
configurations: [
14-
[platform: 'linux', jdk: '17', jenkins: '2.375'],
15-
[platform: 'linux', jdk: '11', jenkins: '2.361.4'],
16-
[platform: 'windows', jdk: '8']
14+
[platform: 'linux', jdk: '17', jenkins: '2.380'],
15+
[platform: 'linux', jdk: '11', jenkins: '2.375.1'],
16+
[platform: 'windows', jdk: '11']
1717
]
1818
)

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<dependencies>
6262
<dependency>
6363
<groupId>io.jenkins.tools.bom</groupId>
64-
<artifactId>bom-2.346.x</artifactId>
64+
<artifactId>bom-2.361.x</artifactId>
6565
<version>1723.vcb_9fee52c9fc</version>
6666
<scope>import</scope>
6767
<type>pom</type>
@@ -140,7 +140,7 @@
140140
<properties>
141141
<changelist>999999-SNAPSHOT</changelist>
142142
<gitHubRepo>jenkinsci/testng-plugin-plugin</gitHubRepo>
143-
<jenkins.version>2.346.3</jenkins.version>
143+
<jenkins.version>2.361.4</jenkins.version>
144144
<spotbugs.effort>Max</spotbugs.effort>
145145
<spotbugs.failOnError>true</spotbugs.failOnError>
146146
<!-- Not yet ready for Low threshold, too many warnings to resolve -->

0 commit comments

Comments
 (0)