SonarQube: Coverage on New Code never calculated

后端 未结 3 1096
不知归路
不知归路 2021-01-18 22:42

I have set up SonarQube, Maven and Cobertura to upload unit test coverage at every build run. I want to use the differential views to get coverage for the delta (new code on

3条回答
  •  爱一瞬间的悲伤
    2021-01-18 23:23

    The key requirement to obtain new_code -related information/metrics is to leverage SonarQube SCM integration. And to benefit from that you have to install a compatible SCM Plugin applicable to your project (e.g. Git Plugin, SVN Plugin etc.).

提交回复
热议问题