Retention policy - Days to keep runs (>= 30). Runs represent one execution of a pipeline. During a run, the pipeline is processed, and agents process one or more jobs. A pipeline run includes jobs, steps, and tasks. Runs power both continuous integration (CI) and continuous delivery (CD) pipelines.
1. Navigate to Project Settings. 2. Open the Settings link under Pipelines. 3. Set the number of days to keep runs.
{
"target": "ADOProjectPipelineRetentionSettings",
"if": {
"allOf": [
{
"resource": "ADOProjectPipelineRetentionSettings",
"property": "PurgeRuns.Value",
"operator": "greaterThan",
"value": 29
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. Tous droits réservés. Politique de confidentialité | Politique de témoins | Conditions d'utilisation