Vicky
Vicky

Reputation: 104

Sonarqube quality gate configuration

I am facing a small challenge while I try to set a custom quality gate in Sonar for "bugs" i.e. blocker should not be more than 0.

Instead the quality gate is picking the category "code smells" and showing the results from there.

Is there a way of how this can be corrected?

I am using sonarqube version 8.6.

Upvotes: 0

Views: 989

Answers (1)

raspy
raspy

Reputation: 4261

If you are interested only in 0 blocker bugs, you should be checking Reliability rating is not worse than D. See https://docs.sonarqube.org/latest/user-guide/metric-definitions/#header-6

Upvotes: 1

Related Questions