Skip to content

Commit

Permalink
chore: test on java 17 (#115)
Browse files Browse the repository at this point in the history
* chore: test on java 17

* Fix javadoc issue
  • Loading branch information
slide authored Apr 21, 2022
1 parent d1aaca2 commit 283932a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
15 changes: 11 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
def configurations = [
[ platform: "linux", jdk: "8", jenkins: null ],
[ platform: "windows", jdk: "8", jenkins: null ],
[ platform: "linux", jdk: "11", jenkins: null ],
// Test the long-term support end of the compatibility spectrum (i.e., the minimum required
// Jenkins version).
[ platform: 'linux', jdk: '8', jenkins: null ],

// Test the common case (i.e., a recent LTS release) on both Linux and Windows.
[ 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: '17', jenkins: '2.342' ],
]

buildPlugin(
configurations: configurations
)
)
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.289.1</jenkins.version>
<java.level>8</java.level>
</properties>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ public abstract class TokenMacro implements ExtensionPoint {
/**
* Evaluates the macro and produces the token.
*
*
* <h3>Locale</h3>
* <p>
* If the token is to produce a human readable text, it should do so by using the implicit locale associated
* with the calling thread &mdash; see {@code Functions.getCurrentLocale()}.
*
Expand Down

0 comments on commit 283932a

Please sign in to comment.