Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Question about retention policies
-
Hello,
We currently have a retention policy set up to purge all releases older than 20. There is also a policy to keep 365 days worth of build, execution, etc logs for audit's sake.
It is to my understanding that when BuildMaster purges the 21st release of an application, it will completely disregard that 365 day log policy, thus deleting any build, execution, etc. logs for that release, as well as all older releases.
Is this accurate?
Thanks!
-
Hi Joseph,
You are correct. Separate rules consider their target items to delete independently.
Thanks,
-John
-
Excellent, thank you!
-
If we have a retention policy in place for releases, do we need a completely separate policy to purge the orphaned artifacts, or can that be included in the same policy as the releases?
-
You'll need a separate policy for Artifacts since the policy for Releases will orphan them (i.e. remove them from the DB) but not delete them from disk.
-
@jrasch Awesome. Thanks for the swift reply!
-
@jrasch
I tried creating a retention policy, like my attached screenshot.However, it deleted all of the artifacts in BuildMaster, not just orphaned ones. Is there a way to delete just the orphaned ones?
We are using Version 5.8.3 (Build 7) of BuildMaster.