add checkstyle recording via Jenkins

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
olivier lamy 2019-05-09 10:08:29 +10:00
parent 40cdbc4056
commit 5740a24b41
1 changed files with 11 additions and 0 deletions

11
Jenkinsfile vendored
View File

@ -69,6 +69,17 @@ pipeline {
}
}
stage("Checkstyle ") {
agent { node { label 'linux' } }
options { timeout(time: 30, unit: 'MINUTES') }
steps {
recordIssues(
enabledForFailure: true, aggregatingResults: true,
tools: [java(), checkStyle(pattern: 'build-resources/src/main/resources/jetty-checkstyle.xml', reportEncoding: 'UTF-8')]
)
}
}
stage("Build Compact3") {
agent { node { label 'linux' } }
options { timeout(time: 120, unit: 'MINUTES') }