How to delete Old deployed files from Octopus

usability
server
known
(Venkatasiva2603) #1

Hi Team,

we are facing frequently the space issue related to Octopus files deployed in Environment machines , is there any setting or feature is enabled to delete the old deployed files in Environment machines automatically.

(Paul Calvert) #2

Hi @venkatasiva2603,

Thanks for getting in touch!

It sounds like you are referring to the files created in the Tentacle folder during a deployment. In which case, the first step would be to look at configuring your retention policies for tentacle files within the lifecycle that you are using.

These will need to be set for every lifecycle used within each of your projects, and once done, they will ensure that post-deployment, any release files older than what you have configured will be removed.

If you already have this configured and are still running into problems with space, would you be able to identify which particular files or folders are causing this?

I hope this helps get you started, please let me know if you have any further questions on this.

Best regards,
Paul