To publish PMD report, you only need two steps:
- Generate PMD XML report from Ant or Maven or any other build tool.
- Add PMD report publish step by choosing Publish -> PMD Report from step menu.
QuickBuild will NOT generate PMD report automatically, so first make sure the PMD report is produced by ANT or by any other build tool. The following example shows how to generate PMD XML report with PMD Ant task:
Please don't use 'shortFileNames' attribute for PMD task, or set this attribute to false instead, otherwise QuickBuild will not open the source code correctly.
After adding the target, you can generate the XML report for your source code, and after that you can tell QuickBuild to publish the results.
Add Publish PMD Report step to your build workflow. If you have several report sets, you can add several steps with different report set names. Reference this page for more details.