Changing the quality gate and fugde factor of your project
The organization's default quality gate is applied by default to your project. As a project administrator, you can apply other standards to your project. In addition, you can change the fudge factor used for quality gate computation for your project.
Changing the quality gate applied to your project
- Retrieve your project.
- In the left navigation bar, select Administration > Quality Gate.
- Select Use a specific quality gate, and select the quality gate in the list.
- Select Save.
Changing the quality gate fudge factor of your project
The quality gate fudge factor refers to a mechanism where conditions on duplication and coverage are ignored until the number of new lines is at least 20. This is used to avoid overly strict enforcement when dealing with small changes, as minor issues might disproportionately impact the overall quality gate status.
The fudge factor is enabled by default in your organization. This organization's setting is applied to all new projects. Project administrators can override it for their project.
To enable or disable the fudge factor for your project:
- Retrieve your project.
- In the left navigation bar, select Administration > Quality Gate.
- Unselect or select Ignore duplication and coverage on small changes.
- Select Save.
Related pages
- Understanding quality gates
- Viewing quality gates
- Managing custom quality gates
- Changing the default quality gate
- Associating a quality gate with projects in your organization
- Getting notified when a quality gate fails
- Managing quality gates for AI code
- Changing the quality gate fudge factor of your organization
Was this page helpful?