If your organisation uses the Atlassian Clover code-coverage tool, Bamboo can record code-coverage details (i.e. the percentage of code covered by tests) for each build result. This is only available if the build's plan specifies a Clover directory (for details please refer to the Enabling the Clover add-on). Bamboo also provides data on code-coverage trends for a plan over a period of time. For details see the Related pages at right. |
Clover HTML report for a job
In case your build generates a Clover HTML report (created by default in automatic integration), you can browse it on the the build job summary page:
(1) go to plan summary
(2) select build number
(3) select job
(4) open Clover tab
The "Clover" tab is not visible on the Build summary page - you have to drill down to the Job summary. The reason is that your build can contain multiple jobs and each of them can have its own Clover report.
Clover statistics report for a job
In case when
- your build generates Clover XML report but not the HTML report
- the "Clover Report" artifact is not defined on the "Artifacts" tab
the build job summary page will show few code coverage statistics:
(1) go to plan summary
(2) select build number
(3) select job
(4) open Clover tab
TIP: This usually happens for manual Clover integration. In case you want to see full Clover report, configure it as described on Enabling the Clover add-on page.
References
Content of HTML report is explained in details on Clover Documentation Home - 4. Understanding Reports page.
Screenshot: Clover code-coverage for a build job result
Attachments:




