Documentation for Bamboo 4.0.x. Documentation for earlier versions of Bamboo is available too.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This page contains instructions on enabling and configuring the Atlassian Clover plugin for a job in Bamboo.

To enable the Clover plugin on a job:

  1. Navigate to the desired job, as described on Configuring jobs.
  2. Choose Actions > Configure Job.
  3. Click Miscellaneous.
  4. Select Use Clover to collect Code Coverage for this build and complete the following settings:

SettingDescription
Automatically integrate Clover into this buildYou will need to provide a Clover license (evaluation licenses are available), unless this has been configured globally in the Administration panel (Administration > Plugins > Clover Plugin).
Generate a Clover Historical ReportDisplays the current coverage results compared with previous Clover code coverage reports.
Generate a JSON reportProvides the Clover results in a format ready for embedding into applications or external report views.
Use plan-defined Clover license keyOverride the global Clover license for this particular plan.
Clover is already integrated into this build

Use this option when you already have Clover-for-Ant or Clover-for-Maven configured to generate a report.

Clover XML Location

Specify the location where Bamboo will look for the XML report file from Clover. Please specify the file path relative to your plan's root directory (e.g /home/bamboouser/bamboo-home/xml-data/build-dir/MY_PLAN/), i.e. do not specify an absolute path.

 target/site/clover/clover.xml 

Screenshot: Enabling Clover for a job

  • No labels