Quality gate

Edit page Last modified: 02 November 2023

Quality gate is the maximum number of problems that can be detected by Qodana without causing a CI/CD workflow or pipeline fail. Once the quality gate limit is reached, Qodana terminates with exit code 255.

This feature lets you control your code quality and build software that meets your quality metrics. For example, if you set a quality gate for ten problems, a build workflow will fail once the eleventh problem is detected.

The quality gate and fail threshold terms are used interchangeably with the former being a feature in overall, and the latter meaning a configuration option.

This feature is supported by all linters available under Community, Ultimate, and Ultimate Plus licenses and their trial versions.

This section explains how to configure a quality gate for: