cobertura graph in hudson

2019-07-06 22:32发布

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条回答
狗以群分
2楼-- · 2019-07-06 23:04

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

查看更多
太酷不给撩
3楼-- · 2019-07-06 23:15

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.

查看更多
太酷不给撩
4楼-- · 2019-07-06 23:23

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

查看更多
登录 后发表回答