Redgate Flyway

Code Analysis Rules

Configuring Rules

These pages cover how to configure the various code analysis engines

Rules cant take one of three severity levels:

  • Disabled - the rule will be ignored
  • Warning - a rule violations will be reported but not cause the operation to fail
  • Error - a rule violations will be reported and will cause the operation to fail if check.code.failOnError is enabled

Enforcing Code Analysis Policy

Once you are satisfied that your code analysis rules are correctly configured you can enforce them in your project by setting check.code.failOnError parameter to cause the check -code task to exit with a failure in case of any violations.

Redgate Rules Description

Flyway Enterprise

Redgate has added a set of rules that are of interest to customers with a larger and more complex database infrastructure.


Didn't find what you were looking for?