How to generate Cobertura Code Coverage Report using Maven from Hudson

后端 未结 4 1955
故里飘歌
故里飘歌 2020-12-29 04:56

In my project I need to create Cobertura Code Coverage report from Hudson using maven build.
In Hudson I have added the Cobertura Code Coverage plugin.
I need the co

4条回答
  •  我在风中等你
    2020-12-29 05:38

    Cobertura doesn't actually seem to work with hudson.

    I have a project where executing the command line: mvn clean package

    Builds a coverage report generates an accurate coverage report with an average coverage of about 78% line and 74% branch.

    Running the same goals on a Hudson server results in a coverage report showing 0% 0%.

    Unfortunately the Jira site for the plugin doesn't seem to allow anyone to post issues so this issue is as yet unreported to the team.

提交回复
热议问题