When a project build creates multiple CheckStyle or PMD reports (e.g., different rulesets for test and production code, PMD Java and PMD JavaScript results) then the current buildPlugin setup cannot handle these results. E.g., my plugins create a structure:
In order to pick up those files as well, the pattern should be changed to support those structures as well.
Output for projects with subfolder structure:
Searching for all files in '/var/data/workspace/history-coverage-model' that match the pattern 'target/**/checkstyle-result.xml'
Traversing of symbolic links: enabled
-> found 2 files
Successfully parsed file /var/data/workspace/history-coverage-model/target/checkstyle-java/checkstyle-result.xml
-> found 0 issues (skipped 0 duplicates)
Successfully processed file 'target/checkstyle-java/checkstyle-result.xml'
Successfully parsed file /var/data/workspace/history-coverage-model/target/checkstyle-tests/checkstyle-result.xml
Output for projects with default single report structure:
Searching for all files in '/var/data/workspace/history-coverage-model' that match the pattern 'target/**/checkstyle-result.xml'
Traversing of symbolic links: enabled
-> found 1 file
Successfully parsed file /var/data/workspace/history-coverage-model/target/checkstyle-result.xml
-> found 0 issues (skipped 0 duplicates)
Successfully processed file 'target/checkstyle-result.xml'
When a project build creates multiple CheckStyle or PMD reports (e.g., different rulesets for test and production code, PMD Java and PMD JavaScript results) then the current
buildPlugin
setup cannot handle these results. E.g., my plugins create a structure:In order to pick up those files as well, the pattern should be changed to support those structures as well.
Output for projects with subfolder structure:
Output for projects with default single report structure: