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 d28c2d6 commit 577e374
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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']
]
)
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/cloud-stats-plugin</gitHubRepo>
<jenkins.version>2.346.3</jenkins.version>
<jenkins.version>2.361.4</jenkins.version>
<surefire.useFile>false</surefire.useFile>
<useBeta>true</useBeta>
<spotbugs.effort>Max</spotbugs.effort>
Expand Down

0 comments on commit 577e374

Please sign in to comment.