mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
should fix Jenkins checkstyle report
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
5740a24b41
commit
9557c18ef5
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -73,9 +73,10 @@ pipeline {
|
|||||||
agent { node { label 'linux' } }
|
agent { node { label 'linux' } }
|
||||||
options { timeout(time: 30, unit: 'MINUTES') }
|
options { timeout(time: 30, unit: 'MINUTES') }
|
||||||
steps {
|
steps {
|
||||||
|
mavenBuild("jdk11", "install checkstyle:checkstyle -DskipTests", "maven3", true)
|
||||||
recordIssues(
|
recordIssues(
|
||||||
enabledForFailure: true, aggregatingResults: true,
|
enabledForFailure: true, aggregatingResults: true,
|
||||||
tools: [java(), checkStyle(pattern: 'build-resources/src/main/resources/jetty-checkstyle.xml', reportEncoding: 'UTF-8')]
|
tools: [java(), checkStyle(pattern: '**/target/checkstyle-result.xml', reportEncoding: 'UTF-8')]
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user