Major Tolerance
Published 31 October 2023
Check: Major Tolerance
This is available in Flyway CLI only
Description
You can configure your pipeline to fail when specified static code analysis rules beyond a given tolerance level are violated.
majorTolerance
sets the The number of major rules violations to be tolerated before throwing an error
If the total number of majorRules violations exceeds the majorTolerance
, Flyway will fail.
Default
There is no maximum tolerance (i.e. violations will not cause a failure)
Usage
Commandline
./flyway check -code -check.majorTolerance=3
TOML Configuration File
[flyway.check]
majorTolerance = 3
Configuration File
flyway.check.majorTolerance=3