Question

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.

Was it helpful?

Solution 2

The graph does not show up in when running a maven2 project, only a freestyle project.

OTHER TIPS

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.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top