To publish CPD report, you only need two steps:
- Generate CPD XML report from Ant or Maven or any other build tool.
- Add CPD report publish step by choosing Publish -> CPD Report from step menu.
QuickBuild will NOT generate CPD report automatically, so first make sure the CPD report is produced by ANT or by any other build tool. The following example shows how to generate CPD XML report with CPD Ant task:
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 CPD 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.