artifactoryjfrog-cliartifactory-query-lang

Delete artifacts which are not downloaded for 6 months


In JFrog Artifactory, I need to delete the artifacts which are not downloaded for a period of 6 months. I have gone through the JFrog repository. It is mentioned to run via REST API, but I am not pretty sure how to use it.

How can we implement this? or if there is some other way?


Solution

  • I would recommend to refer to this user plugin, artifactCleanUp plugin can be used to delete artifacts which are not downloaded for certain days/months.