This page last changed on Dec 12, 2007 by rosie@atlassian.com.
Getting started
To use Clover with Bamboo, you need to:
- Either:
- Ensure that there are tests present in your build plan that generate test results in JUnit test report format.
- Ensure that your build creates a Clover report (that is, a clover.xml file). Bamboo will use this Clover report as source.
- Set up Bamboo to read the Clover report (clover.xml file) generated by Clover. To do this:
- Ensure the 'Clover output will be produced' check-box is ticked in your plan's build configuration page.
- Instruct Bamboo on the location of your 'Clover XML Directory' — 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.
For further details, please see 1.2.3 Specifying a Plan's Builder.
Q&A:
Q: I have managed to get Clover statistics displayed in numerical form for each build, but the graphs do not show a history of these statistics?
A: The history of Clover is displayed over time periods (e.g. a day, a week, a month), and the minimum data point is per day. The Clover coverage will not display data that is less than a day old.
Q: Will the Bamboo/Clover integration run on failed builds?
A: Before Bamboo version 1.2.1, Bamboo would only report Clover coverage for successful builds. As of Bamboo 1.2.1, Bamboo will report Clover coverage regardless of the build outcome.
|