I have configured a SonarQube Quality Gate in my project, setting the condition to fail if the issue count is greater than 0. However, despite having issues in the code, my GitLab CI/CD pipeline still passes instead of failing as expected.
Here’s my setup:
SonarQube Version: (mention your version, e.g., SonarQube Community v24.12.0)
Quality Gate Condition: Issue count > 0 → FAIL
GitLab CI/CD Integration: Using SonarQube scanner in the pipeline
Observed Issue: The pipeline completes successfully even when issues exist
This is an open community with people volunteering their free time to provide assistance. We’re eager to contribute to the community, but you are not guaranteed a fast response.