Change Pipeline Retention Policy

Learn how to manage the pipeline builds through a retention policy.

Executing a pipeline every day means retaining a lot of builds on the agents, each of these builds having artifacts. In time, the agents may start having disk space problems.

To clear disk space, the old builds can be removed manually, one by one.

But there is a better way of managing which pipeline builds are retained.

Set the pipeline retention plan

  1. Click the Project Settings icon on the left menu.

  2. Click on Settings under the Pipelines section.

  3. The retention policy is displayed.

You can review the snapshots for the steps below:

Get hands-on with 1200+ tech skills courses.