sonarqube-community-branch-plugin
sonarqube-community-branch-plugin copied to clipboard
[Gitlab] Filtering by severity which issues are added to MR
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.
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?
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?
I have reimplemented the change based on master if someone is interested ...