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

Developers ask whether to use a mono-repo or many repos for CI purposes.

AdvancedScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer

Situation read → An architectural decision with CI consequences.

What I'd do →

  1. Mono-repo: atomic cross-service changes and shared tooling, but requires change detection, caching, ownership rules (CODEOWNERS) and a build system that scales.
  2. Poly-repo: independent pipelines and permissions, but dependency version drift and cross-repo changes are harder.
  3. Choose based on team structure and release independence.

Why → CI cost model and org boundaries should drive the decision.

Interview tip → Mention Conway's law.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Builds, Artifacts, Nexus, SonarQube and Testing