Skip to content

Commit

Permalink
Require Java 11
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MarkEWaite committed Dec 2, 2022
1 parent a080a6b commit 4c52830
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ buildPlugin(
useContainerAgent: true,
// Show failures on all configurations
failFast: false,
// Opt-in to the Artifact Caching Proxy, to be removed when it will be in opt-out.
// Opt-in to the Artifact Caching Proxy, to be removed when it will be opt-out.
// See https://github.com/jenkins-infra/helpdesk/issues/2752 for more details and updates.
artifactCachingProxyEnabled: true,
// Test Java 8 with default Jenkins version, Java 11 with a recent LTS, Java 17 even more recent
// Test Java 11 with a recent LTS, Java 17 even more recent
configurations: [
[platform: 'linux', jdk: '17', jenkins: '2.375'],
[platform: 'linux', jdk: '11', jenkins: '2.361.4'],
[platform: 'windows', jdk: '8']
[platform: 'linux', jdk: '17', jenkins: '2.380'],
[platform: 'linux', jdk: '11', jenkins: '2.375.1'],
[platform: 'windows', jdk: '11']
]
)
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.346.x</artifactId>
<artifactId>bom-2.361.x</artifactId>
<version>1723.vcb_9fee52c9fc</version>
<scope>import</scope>
<type>pom</type>
Expand Down Expand Up @@ -140,7 +140,7 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/testng-plugin-plugin</gitHubRepo>
<jenkins.version>2.346.3</jenkins.version>
<jenkins.version>2.361.4</jenkins.version>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.failOnError>true</spotbugs.failOnError>
<!-- Not yet ready for Low threshold, too many warnings to resolve -->
Expand Down

0 comments on commit 4c52830

Please sign in to comment.