Clear out old packages by time or by environment deployed to

(matthew.hutton) #1


How do we make sure the package retention policy doesn’t clear out packages that have been deployed to our production environment? Or to only clear out packages older than (say) 1 year?

(Kenneth Bates) #3

Hi Matthew,

Thanks for getting in touch! You can control retention policies by environment by defining the policy within your lifecycle’s phase that includes the Production environment. By default, it’ll inherit the policy from the previous phase, but this can be overridden as shown in the following doc page.

This will allow you to define how many releases to keep, or for how many days to keep it.

I hope this helps! Let me know if you have any further questions or concerns moving forward. :slight_smile:

Best regards,


(system) #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.