Contains the settings for the retention rules.

Properties

purgeArtifacts?: RetentionSetting

The rules for artifact retention. Artifacts can not live longer than a run, so will be overridden by a shorter run purge setting.

purgePullRequestRuns?: RetentionSetting

The rules for pull request pipeline run retention.

purgeRuns?: RetentionSetting

The rules for pipeline run retention.

retainRunsPerProtectedBranch?: RetentionSetting

The rules for retaining runs per protected branch.