Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 1.32 KB

File metadata and controls

16 lines (9 loc) · 1.32 KB

Execution fails at codeQuality

Official documentation about the Code Quality tests.

  1. Only critical tests cannot be bypassed by a Program Manager, Deployment Manager, or Business Owner approval. The only critical test in the "Code Quality" step, is the "Security Rating"

  2. See here for how to deal with false positives

  3. Otherwise, as a last resort, you can ignore the code quality violations with attributes in the code. For example: @SuppressWarnings("squid:S0016")

Note, other types of excludes defined in the maven pom files such as <sonar.exclusions> (and others documented in [1] and [2]) get automatically removed, so they will not work.

[1] https://stackoverflow.com/questions/39109228/how-can-we-ignore-some-sonarqube-rules-in-java

[2] https://www.baeldung.com/sonar-exclude-violations