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

Artifacts in Nexus consume 5 TB and keep growing.

IntermediateScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer

Situation read → No lifecycle policy.

What I'd do →

  1. Create cleanup policies: delete snapshots older than 30 days, keep the last N, delete unreferenced Docker layers.
  2. Schedule "Admin - Compact blob store" and "Docker - Delete unused manifests and images" tasks.
  3. Set blob store quotas and alerts, and keep release artifacts by policy only.

Why → Deleting components does not free space until the blob store is compacted.

Interview tip → Cleanup policy plus compact task is the pair to mention.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Builds, Artifacts, Nexus, SonarQube and Testing