Start Free
Latest | Quality standards administration | Managing quality gates | Changing default quality gate

Changing the default quality gate

A default quality gate is defined in your instance: any project that is not explicitly associated with a quality gate, is associated with the default quality gate. The default quality gate is indicated in the UI with the DEFAULT tag.

By default, the default quality gate is the built-in quality gate Sonar way. You can set any built-in or custom quality gate as the default quality gate. We recommend that you use a quality gate which complies with Clean as You Code (see Quality gate configured for Clean as You Code in Introduction to quality gates).

To change the default quality gate:

  1. In the top navigation bar, select Quality Gates.
  2. In the left panel, select the quality gate you want to set as default.
  3. In the top right corner of the quality gate, select the Actions button and then Set as default

Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License