Skill 3.6.4

Design and implement a retention strategy for pipeline artifacts and dependencies

Key Concepts

Azure Pipelines project settings define how long to keep runs, artifacts, symbols and attachments, along with pull request runs. Policies are processed once a day. Retention leases keep a specific run beyond those limits, and per-pipeline rules are no longer supported.

GitHub sets artifact and log retention at repository or organization level, and retention-days applies to a single artifact. Azure Artifacts has retention policies for package versions.