Quality gates, quality profiles, and rules
In this section, we will at the default quality gate that defines the base level for passing or failing code analysis, and quality profiles is specific to a particular programming language.
How to do it...
- As of now there is no project available in the SonarQube dashboard:

Quality Gate
is used to enforce policy in the organization for static code analysis.- The SonarQube way is the default
Quality Gate
and you assign it to different projects based on the policies required. - You can also add conditions based on your requirement and policies you want to enforce:

- Click on the
Quality Profiles
tab to get details on the default quality profiles available in SonarQube. Quality Profiles
is at the heart of SonarQube; it is just a set of rules specific to a language. If not mentioned explicitly, all the projects are analyzed with default profiles. However, it is ideal to have a profile for each project so that specific rules can be set or deactivated. Each language...