Wiki
Clone wikiatlassian-bamboo-cpd-plugin / Home
Atlassian Bamboo CPD (copy/paste detector) plugin
This is a Atlassian Bamboo plugin, which provides the ability to view CPD results.
Installation
Visit CPD plugin at Atlassian Marketplace.
CPD view
This plugin lists your results from CPD (copy/paste detector) tools PMD CPD and PHPCPD.
Screenshots
Configuration
After installing this plugin, you have a new Bamboo-task Process CPD result.
Add this task to your job-tasks:
If your Bamboo-job was already producing target/cpd.xml (this file-path is configurable at task-setting), you are done with configuration.
If not, add another task, which runs before "Process CPD result". This other task has to produce CPD XML output.
Here is a Maven-example:
mvn clean compile pmd:cpd
PHP-example:
phpcpd --log-pmd=target/cpd.xml src/
"Process CPD result" task configuration options
Option | Description | Required |
---|---|---|
Path to CPD XML result file | Content as name suggests. Path is relative to working directory | yes, but is prefilled |
Updated