Wiki

Clone wiki

atlassian-bamboo-pmd-pmd-plugin / Home

MessDetector logo

Atlassian Bamboo PMD/PHPMD plugin

This is an Atlassian Bamboo plugin, which provides the ability to view PMD/PHPMD and PHPMD results.

Installation

Visit "View PMD/PHPMD (mess detector)" plugin at Atlassian Marketplace.

PMD/PHPMD view

This plugin lists your results from PMD/PHPMD. Tools, with equal XML-output-format such as PHPMD - PHP Mess Detector, are supported, too.

Screenshots

PMD/PHPMD result on plan-level

PMD/PHPMD result on job-level

PMD/PHPMD report

Configuration

After installing this plugin, you have a new Bamboo-task Process PMD/PHPMD result.

Process PMD/PHPMD result task type

Add this task to your job-tasks:

Task configuration

If your Bamboo-job was already producing target/pmd.xml (this file-path is configurable at task-setting), you are done with configuration.

If not, add another task, which runs before "Process PMD/PHPMD result". This other task has to produce PMD/PHPMD XML output.

Here is a Maven-example:

mvn clean compile pmd:pmd

"Process PMD/PHPMD result" task configuration options

Option Description Required
Path to PMD/PHPMD XML result file Content as name suggests. Path is relative to working directory yes, but is prefilled

Updated