How to set a retention policy in JFrog Artifactory

2.3k Views Asked by At

I'm looking for a way to set retention period in JFrog Arttifactory, which will remove SNAPSHOT versions older than 100 days.

If any teams need particular files need to be keep in Artifactory forever, need to exclude some path alone in that repo from retention policy and other directories should be removed as per the retention policy.

1

There are 1 best solutions below

1
Nitay Marciano On

According to this article you should be able to build an AQL that will help you find the artifacts you would like to delete and then use the code from the article to delete it.

Other than that, JFrog has a few built in plug-ins on the github page - you can see if one of them suits you.