Major Rules
Published 31 October 2023
Check: Major Rules
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.
majorRules
should contain a comma-separated list of rules which are considered to be major.
If the total number of majorRules
violations exceeds the majorTolerance, Flyway will fail.
Default
No rules are regarded as major violations
Usage
Commandline
./flyway check -code -check.majorRules=L001
TOML Configuration File
[flyway.check]
majorRules = ["L001"]
Configuration File
flyway.check.majorRules=L001