Skip to content

Commit

Permalink
Test with Java 17 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Apr 6, 2022
1 parent 6138427 commit 8552f44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
buildPlugin(useContainerAgent: true, configurations: [
// Test the long-term support end of the compatibility spectrum (i.e., the minimum required
// Jenkins version).
[ platform: 'linux', jdk: '8', jenkins: null ],
[ platform: 'linux', jdk: '8' ],

// Test the common case (i.e., a recent LTS release) on both Linux and Windows.
[ platform: 'linux', jdk: '8', jenkins: '2.303.2' ],
[ platform: 'windows', jdk: '8', jenkins: '2.303.2' ],
[ platform: 'linux', jdk: '11', jenkins: '2.332.1' ],
[ platform: 'windows', jdk: '11', jenkins: '2.332.1' ],

// Test the bleeding edge of the compatibility spectrum (i.e., the latest supported Java runtime).
[ platform: 'linux', jdk: '11', jenkins: '2.303.2' ],
[ platform: 'linux', jdk: '17', jenkins: '2.342' ],
])
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.39</version>
<version>4.40</version>
<relativePath />
</parent>

Expand All @@ -18,7 +18,6 @@
<revision>0.16</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.249.1</jenkins.version>
<java.level>8</java.level>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gitHubRepo>jenkinsci/exclusion-plugin</gitHubRepo>
<spotbugs.skip>true</spotbugs.skip>
Expand Down

0 comments on commit 8552f44

Please sign in to comment.