checkstyle report enabled
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
69b6160445
commit
644aeca364
|
@ -60,19 +60,19 @@ pipeline {
|
|||
}
|
||||
}
|
||||
*/
|
||||
/*
|
||||
stage("Checkstyle ") {
|
||||
|
||||
stage("Checkstyle") {
|
||||
agent { node { label 'linux' } }
|
||||
options { timeout(time: 30, unit: 'MINUTES') }
|
||||
steps {
|
||||
mavenBuild("jdk11", "install checkstyle:check -DskipTests", "maven3", true)
|
||||
recordIssues(
|
||||
enabledForFailure: true, aggregatingResults: true,
|
||||
tools: [java(), checkStyle(pattern: '** /target/checkstyle-result.xml', reportEncoding: 'UTF-8')]
|
||||
tools: [java(), checkStyle(pattern: '**/target/checkstyle-result.xml', reportEncoding: 'UTF-8')]
|
||||
)
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue