rogerdpack
rogerdpack

Reputation: 66711

can hudson show code coverage with a maven2 project

So the question is: 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, with a maven2 project?

refs: cobertura graph in hudson How to generate Cobertura Code Coverage Report using Maven from Hudson

If not, is this a bug I should report to them, do you think?

Thanks! -r

Upvotes: 0

Views: 189

Answers (1)

Rob
Rob

Reputation: 48369

The Hudson Cobertura plugin should allow a build to be configured with the path to a Cobertura report (in XML format), from which Hudson can then pull the coverage report and render it. The build will still need to run Cobertura itself, either as part of a full site generation, or using cobertura:cobertura.

From memory, look towards the bottom of the project's configuration page (under Post-Build actions); the setting is labelled something like "Publish Cobertura report".

Upvotes: 2

Related Questions