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 →
- Create cleanup policies: delete snapshots older than 30 days, keep the last N, delete unreferenced Docker layers.
- Schedule "Admin - Compact blob store" and "Docker - Delete unused manifests and images" tasks.
- 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.
More on Builds, Artifacts, Nexus, SonarQube and Testing
A Maven project resolves dependencies from Maven Central on every build and a left-pad style outage would stop all builds.BeginnerYou must publish snapshot and release artifacts without overwriting a released version.IntermediateEvery merge to main should produce a unique semantic version automatically.IntermediateAn npm build is non-reproducible: different versions install on different days.BeginnerThe SonarQube quality gate must block merging PRs that add new bugs, vulnerabilities or uncovered code.IntermediateCoverage shows 0% in SonarQube although tests run in CI.Intermediate