Introduction

Your introduction to understanding how to use quality gates in SonarQube Cloud.

A quality gate consists of a set of conditions against which the code is measured during analysis. A condition is defined on either new code or overall code. Depending on the result, the code will pass or fail the quality gate, giving developers indications on whether to fix issues or merge the code.

Two built-in quality gates are provided: The Sonar way quality gate is initially set as your default quality gate, and the Sonar way for AI Code quality gate is recommended for projects containing AI code.

With the Administer Quality Gates permission in your organization, you can create your own quality gates, called custom quality gates.

In this section:

Last updated

Was this helpful?