Interview Prep/Jenkins/Operations: scale, HA, upgrades & performance

Build history is needed for 2 years for compliance, but the controller disk is filling. What do you do?

IntermediateScenarioOperations: scale, HA, upgrades & performance
Answer

Situation read → Compliance retention conflicts with controller performance.

What I'd do →

  1. Keep only recent builds in Jenkins (e.g. 30 days).
  2. Export build metadata and logs to long-term storage before deletion: a post { always { } } step that uploads the log and a JSON summary to S3 with object lock, or a log shipping plugin.
  3. Store release artifacts in the repository manager with retention policies.
  4. Document the evidence trail (commit, build URL, artifact digest, approver).

Why → Jenkins is not an archive; compliance data belongs in immutable storage.

Interview tip → Mention object lock (WORM) for audit evidence.

All Jenkins questions Roadmap: Jenkins

More on Operations: scale, HA, upgrades & performance