Viewing a quality gate

Any user can view the quality gates and their conditions defined in a SonarQube Community Build instance.

Any user, even an ananymous user, can view the quality gates defined in a SonarQube Community Build instance. For information about quality gates, see the Understanding quality gates page.

To view the definition of a quality gate:

  1. In the top menu bar, select Quality Gates.

  2. In the left panel, select the quality gate you want to view. Its definition is displayed in the right panel. For information about the metrics used in the conditions, see the Understanding measures and metrics page. Note that conditions may apply only to new code. More information can be found on the Quality standards and new code page.

  3. To view the projects explicitly associated with this quality gate, navitage down to Projects in the right panel (Note that projects cannot be explicitly associated with the default quality gate). The With tab lists the associated projects. The Without tab lists the projects not associated with this quality gate. The All tab shows all projects.

The figure below shows the Quality Gates page:

  1. The list of quality gates in your instance. Icons are used to indicate if a quality gate is qualified for Clean as You Code and/or AI Code Assurance.

  2. The definition of the selected quality gate.

  3. The projects associated with the selected project.

Select a quality gate, define its conditions on new and overall code, then assign to projects.

Last updated

Was this helpful?