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

`Shallow clone detected, no blame information will be provided` and new-code detection is wrong.

IntermediateTroubleshootingBuild Tools, Nexus, SonarQube and Test Failures
Answer

Likely causes → CI cloned with limited depth.

Diagnose → git rev-parse --is-shallow-repository.

Fix → fetch-depth: 0 in actions/checkout, or GIT_DEPTH: 0 in GitLab.

Prevent → Standard checkout settings for the scan job.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Build Tools, Nexus, SonarQube and Test Failures