Skip to content

Commit

Permalink
Test on Java 17 (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Apr 5, 2022
1 parent 9952cc3 commit 43cf323
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ buildPlugin(useContainerAgent: true, configurations: [
[ platform: 'linux', jdk: '8', jenkins: null ],

// 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' ],
])
runBenchmarks('jmh-report.json')
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.39</version>
<version>4.40</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -73,7 +73,6 @@
<revision>1.18</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.277.4</jenkins.version>
<java.level>8</java.level>
<spotbugs.threshold>Low</spotbugs.threshold>
<spotbugs.effort>Max</spotbugs.effort>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
Expand Down

0 comments on commit 43cf323

Please sign in to comment.