Build on jdk17 now. (#6675)

* Build on jdk17 now.
* Bump spotbugs to 4.3.0

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2021-08-28 07:10:26 -05:00 committed by GitHub
parent 05c08e1602
commit 59b21557a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

6
Jenkinsfile vendored
View File

@ -49,13 +49,13 @@ pipeline {
} }
} }
stage("Build / Test - JDK16") { stage("Build / Test - JDK17") {
agent { node { label 'linux' } } agent { node { label 'linux' } }
steps { steps {
container( 'jetty-build' ) { container( 'jetty-build' ) {
timeout( time: 240, unit: 'MINUTES' ) { timeout( time: 240, unit: 'MINUTES' ) {
mavenBuild( "jdk16", "clean install -Djacoco.skip=true", "maven3") mavenBuild( "jdk17", "clean install -Djacoco.skip=true", "maven3")
recordIssues id: "jdk16", name: "Static Analysis jdk16", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser()] recordIssues id: "jdk17", name: "Static Analysis jdk17", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser()]
} }
} }
} }

View File

@ -1331,7 +1331,7 @@
<plugin> <plugin>
<groupId>com.github.spotbugs</groupId> <groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId> <artifactId>spotbugs-maven-plugin</artifactId>
<version>4.1.4</version> <version>4.3.0</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>