开发者

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开发者_StackOverflow you think?

Thanks! -r


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".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜