Changing default quality gate

A default quality gate is assigned in your SonarQube Server settings. This quality gate is automatically applied to new projects and can be modified at any time.

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. See theUnderstanding quality gates to learn more.

If you set as default a quality gate that is explicitly associated with projects, the explicit association is not shown anymore in the UI but is not removed: if you change again the default quality gate, the explicit association will show up again.

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.

Any quality gate can be selected as your DEFAULT quality gate in SonarQube Server. Simply navigate to the three-dot menu of your quality gate and select Set as Default.

To disable the fudge factor at the global level:

  1. Go to Administration > configuration > General Settings > General > Quality Gate.

  2. Unselect the Ignore duplication and coverage on small changes option.

Last updated

Was this helpful?