开发者

Sonar Maven plugin - fail the build on violation

开发者 https://www.devze.com 2023-01-28 00:07 出处:网络
Is there a way to 开发者_如何学Pythonconfigure Sonar or the Sonar Maven plugin to make a build fail when a violation of a certain priority (Blocker, Critical) is detected?you have to define alert thre

Is there a way to 开发者_如何学Pythonconfigure Sonar or the Sonar Maven plugin to make a build fail when a violation of a certain priority (Blocker, Critical) is detected?


you have to define alert thresholds on the number of blocker/critical violations (>0 is your case) in quality profile and install the build breaker plugin (category "Integration" in Update Center of sonar 2.4).

0

精彩评论

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

关注公众号