I am trying to understand how retention policies of Artifacts feed work.
I read through this article
Azure Artifacts/Delete and recover packages
but it is not clear whether retention policies apply only when "the maximum number of versions to keep" has been reached or generally for all versions. It is also not clear if the latest versions will be always kept, regardless of the retention policies.
For example, I set up a feed with the following retention policies:
Maximum number of versions per package: 10
Days to keep recently downloaded packages 2
Then I created a pipeline which uploads build artifacts as universal packages to the feed. As you can see from the following picture
old package versions are still available for download even if they exceeded the "max days to keep" value.
Could someone please clarify how Azure Devops Artifacts retention policies actually work?
Thanks in advance
days to keep recently downloaded packages
, packages will only be deleted by retention policies if they have not been downloaded within the number of days set. Is it possible that someone in your team still use the old versions? – Cece Dong - MSFTmaximum number of versions
, will the retention policy work? – Cece Dong - MSFT