I’ve set up a quality gate with following parameters:
- Code smells: is greater than 100
- Critical issues: is greater than 0
Now when I perform project analysis, and have no bugs or vulnerabilities detected, the quality gate fails because some of the code smells have critical or blocker severity.
So I wonder why this is happening? Looking at the quality gate configuration, I thought that the code smells counted separately from issues (while issues are bugs + vulnerabilities?).
Is it possible to prevent quality gate failing because of code smells (with any severity) and limit it to issues only?