Skip to content

Commit f80c889

Browse files
authored
Test with Java 17 (#65)
1 parent 222c7d4 commit f80c889

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
buildPlugin(useContainerAgent: true, configurations: [
66
// Test the long-term support end of the compatibility spectrum (i.e., the minimum required
77
// Jenkins version).
8-
[ platform: 'linux', jdk: '8', jenkins: null ],
8+
[ platform: 'linux', jdk: '8' ],
99

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

1414
// Test the bleeding edge of the compatibility spectrum (i.e., the latest supported Java runtime).
15-
[ platform: 'linux', jdk: '11', jenkins: '2.303.2' ],
15+
[ platform: 'linux', jdk: '17', jenkins: '2.342' ],
1616
])

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>4.39</version>
7+
<version>4.40</version>
88
<relativePath />
99
</parent>
1010
<artifactId>gitlab-oauth</artifactId>
@@ -14,7 +14,6 @@
1414
<revision>1.16</revision>
1515
<changelist>-SNAPSHOT</changelist>
1616
<jenkins.version>2.249.1</jenkins.version>
17-
<java.level>8</java.level>
1817
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
1918
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2019
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

0 commit comments

Comments
 (0)