Use checkstyle pattern to avoid parsing of test data.
@@ -12,7 +12,7 @@ node {
recordIssues tool: errorProne()
junit testResults: '**/target/*-reports/TEST-*.xml'
recordIssues tools: [mavenConsole(),
- checkStyle(),
+ checkStyle(pattern: 'target/checkstyle-result.xml'),
spotBugs(pattern: 'target/spotbugsXml.xml'),
pmdParser(pattern: 'target/pmd.xml'),
cpd(pattern: 'target/cpd.xml'),
