is there a way to have the cobertura test coverage graph be shown on the front page of a project, similar to the test trend graph? I'd like to have that displayed next to the coverage graph. Any help would be appreciated. Thanks.
3 Answers
Hudson has a set of plugins which you can use to extend its functionality to best suit to your requirements. One of this plugins is the Cobertura Plugin. Once you've installed it, in each of your project's configuration a new Post-Build action will appear with the title 'Publish Cobertura Coverage report'.
With this configuration Hudson is able to build cobertura graphs from a generated report. It's up to you to make your builds generate that report. For this task, if you are using maven, plugins are available to add them to your reports.
Hope it helps.

- 13,872
- 15
- 57
- 93

- 2,883
- 2
- 18
- 19
-
Hi Carlos, thanks for that info. I am at that point and have the graphs generating. I was just trying to figure out if there is a way to get the trend graph to show on the project's main page with the unit test trend graph, rather than having to click into an individual build. – Jeff Storey Jun 30 '09 at 13:21
-
That's it Jeff, by installing the Cobertura Plugin and mark the corresponding action on post-build actions at your project's configuration the cobertura trend graph will appear at your project's main page, just below the tests one. – Carlos Jul 02 '09 at 10:18
-
Jeff, have a look through the release notes of the Cobertura plugin (and hudson) as I recall an issue where it wasn't showing the coverage for some reason. I have had issues from time to time where for example it wouldn't show coverage if the build had failed etc. – Colin Goudie Jul 02 '09 at 11:33
-
Carols, gommo, no such luck here. I do have it enabled in the post build actions, but it doesn't appear on the main page. I have to go into the specific build and then click on coverage report (or into the site documentation). I'm running hudson 1.309 with cobertura 0.8.8. – Jeff Storey Jul 02 '09 at 16:49
The graph does not show up in when running a maven2 project, only a freestyle project.

- 56,312
- 72
- 233
- 406
Here's posts for
1. Setting up a pom.xml
for generating reports Cobertura, Findbugs, Checkstyle and Surefire unit test results. development-environment-for-google-app
2. And how to configure Hudson to display the reports. hudson-continous-integration-for-google

- 1
- 1

- 627
- 2
- 7
- 14