sonarqube-community-branch-plugin icon indicating copy to clipboard operation
sonarqube-community-branch-plugin copied to clipboard

[Gitlab] Filtering by severity which issues are added to MR

Open bmaehr opened this issue 5 years ago • 4 comments

Describe the Enhancement Filtering by severity which issues are added to MR

Additional context Because it is not possible to disable many rules on sonar we put the ones we don't want to level info and don't want them to be as comment on the MR.

bmaehr avatar Mar 22 '20 16:03 bmaehr

Hi @bmaehr should be pretty easy to implement to add a severity threshold. Besides that adding a total issue threshold would be good so that not thousands of issues are pushed to bitbucket in case something goes terribly wrong.

Are you going to implement it?

@mc1arke What's your opinon?

4n4n4s avatar Mar 22 '20 16:03 4n4n4s

Limiting the number of reported issues sounds reasonable, providing it's then clear in a summary or comment that the output is truncated.

Does filtering not still cause an issue with the quality gate failing but issues not being decorated?

mc1arke avatar Apr 27 '20 14:04 mc1arke

I have reimplemented the change based on master if someone is interested ...

bmaehr avatar Mar 08 '21 16:03 bmaehr