Both Checkstyle and SpotBugs are configured with fail-on-error disabled:
<!-- Checkstyle -->
<failsOnError>false</failsOnError>
<!-- SpotBugs -->
<failOnError>false</failOnError>
The quality gate workflow documentation states zero violations are required, but the build will not actually fail if violations are found. This means the quality gate is not enforced at build time.
Fix: Set both to true so the build breaks on violations:
<failsOnError>true</failsOnError> <!-- Checkstyle -->
<failOnError>true</failOnError> <!-- SpotBugs -->
Both Checkstyle and SpotBugs are configured with fail-on-error disabled:
The quality gate workflow documentation states zero violations are required, but the build will not actually fail if violations are found. This means the quality gate is not enforced at build time.
Fix: Set both to
trueso the build breaks on violations: