Reputation: 6875
A repository I use regularly deletes old version of deb packages as it releases new ones, which is very annoying as it breaks our builds until we can bump the package version in our config management.
I was hoping that the Remote Repositories feature would let me create a cache that keeps packages in it even though the original repository has deleted them.
Does Artifactory Remote Repositories delete files when they are deleted from the original repository?
Thanks
Upvotes: 1
Views: 838
Reputation: 3506
The answer is NO, Artifactory will not delete the files if the remote repository deleted the files. Now there is a scenario that Artifactory will clean unused artifacts BUT only if the Admin choose to and I will explain. In the Artifactory UI --> Admin --> Remote repositories --> Repository configuration --> Advanced tab, you have a checkbox named "Unused Artifacts Cleanup Period". By default, this field is empty which means no cleanup. Unless the Admin change this field nothing should be deleted automatically by any Artifactory process.
Upvotes: 3