Minor Tolerance
Published 31 October 2023
Check: Minor 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.
minorTolerance
sets the The number of minor rules violations to be tolerated before throwing an error
If the total number of minorRules violations exceeds the minorTolerance
, Flyway will fail.
Default
There is no maximum tolerance (i.e. violations will not cause a failure)
Usage
Commandline
./flyway check -code -check.minorTolerance=7
TOML Configuration File
[flyway.check]
minorTolerance = 7
Configuration File
flyway.check.minorTolerance=7