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 458f73d commit f2de01b
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 @@ -8,7 +8,7 @@
</parent>
<properties>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.346.3</jenkins.version>
<jenkins.version>2.361.4</jenkins.version>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.failOnError>true</spotbugs.failOnError>
</properties>
Expand Down Expand Up @@ -79,7 +79,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

0 comments on commit f2de01b

Please sign in to comment.