Delete old packages from built-in feed

Hi,

Is it possible to delete old packages from build-it feed automatically?
For example, if I have versions of one package from 1.0.0.0 to 1.0.0.90 and I want to leave in feed only from 1.0.0.70 (last 20).

Maybe, we can create custom Task for this purpose.

Thank you in advance.

Hi,

Apart from using the API, no, it needs to be done manually.

However, you can configure retention policies in Octopus to automatically delete your releases once they reach a certain age.

Once releases are deleted, any packages that are orphaned will also be deleted.

Paul

Thanks Paul,

I will try with retention policies.