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

How do you structure test stages so developers get fast feedback but you still get deep coverage?

BeginnerScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer

Situation read → Test pyramid in the pipeline.

What I'd do →

  1. On every push: lint, unit tests and build (minutes).
  2. On PR: add integration tests and a quick security scan.
  3. Post-merge or nightly: full end-to-end, performance and long scans.
  4. After deploy: smoke tests against the live environment.

Why → Fast tests gate every change, and slow tests run where their cost is justified.

Interview tip → Describe the pipeline as feedback loops of increasing cost.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Builds, Artifacts, Nexus, SonarQube and Testing