Interview Prep/CI/CD/Builds, Artifacts, Nexus, SonarQube and Testing

Developers run `mvn deploy` locally and push artifacts that CI never built.

AdvancedScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer

Situation read → Artifact provenance gap.

What I'd do →

  1. Remove deploy credentials from developers; only the CI service account can write to release repos.
  2. Developers may write to a separate sandbox/snapshot repo if needed.
  3. Add provenance metadata and verify it before promotion.

Why → Production artifacts must come from a controlled, auditable build.

Interview tip → Separate who can build from who can publish.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Builds, Artifacts, Nexus, SonarQube and Testing