Skip to main content

Configuring Quality Gates

Quality Gates are the best way to enforce a quality policy and it is there to answer one simple question:

Can I deliver my project to production or not? In order to answer this question, you have to define a set of conditions based on measurement thresholds against which your projects are measured. The quality gate Sonar way is provided by SonarQube and activated by default. It is also possible to define and set a different quality gate as default, which can be applied to all projects. For an overview on all aspects of the SonarQube quality gates, refer to Quality Gates in the SonarQube documentation.

Defining a Quality Gate

A quality gae consists of a set of conditions that you can define for new code and existing (overall) code. This section explains how to define an existing quality gate using the menu.