Interview Prep/CI/CD/Build Tools, Nexus, SonarQube and Test Failures

`ERROR: Quality gate failed` but the dashboard looks fine on the main branch.

IntermediateTroubleshootingBuild Tools, Nexus, SonarQube and Test Failures
Answer

Likely causes → The gate evaluates new code (since previous version or reference branch), and this PR adds uncovered or duplicated lines.

Diagnose → Open the PR analysis; look at "New Code" metrics.

Fix → Add tests, reduce duplication, fix new issues.

Prevent → Show Sonar results in PR decoration.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Build Tools, Nexus, SonarQube and Test Failures