This page contains instructions on enabling and configuring the Clover plugin for a Job of a Plan in Bamboo.
Enabling the 'Clover' Plugin on a Plan
To enable the 'Clover' plugin on a plan:
- Navigate to the desired Job, as described on Configuring a Job.
- Click the 'Configuration' tab.
- Click the 'Configure Job' dropdown, then click 'Builder'. You will need Administrator rights to do this.
- Tick the option 'Use Clover to collect Code Coverage for this build' and fill out the following fields;
- 'Integration Options' — Select one of the following options:
- 'Automatically integrate Clover into this build' — For this option, you have two sub options; 'Generate a Clover Historical Report' and 'Generate a JSON report'. The Clover Historical Report shows the current coverage results compared with previous Clover code coverage reports. The JSON report gives the Clover results in a format ready for embedding into applications or external report views.
You will also need to insert a Clover license (evaluation licenses are available) into the field provided.
- 'Clover is already integrated into this build and a clover.xml file will be produced' — Use this option when you already have Clover-for-Ant or Clover-for-Maven configured to generate a report. You will also need to specify where the Clover XML report is being generated, under 'Clover XML Location'. For this, specify the name of the directory (including path) where Bamboo will look for the XML report output file from Clover. Please specify a file path relative to your plan's root directory, for example:
Do not specify an absolute path.
- 'Clover XML Location' — Specify the location where Bamboo will look for the XML report output file from Clover. Please specify file path relative to your plan's root directory (e.g
/home/bamboouser/bamboo-home/xml-data/build-dir/MY_PLAN/
), i.e. please do not specify an absolute path.
- 「保存」ボタンをクリックします。

Screenshot above: Enabling Clover on your Plan

Screenshot above: Pointing Bamboo to existing Clover reports
注意