Reputation: 3
How can we programmatically trigger Garbage Collection on JFrog Artifactory? We see it is set a background task of artifactory. Couldn't find its API in their REST API documentation.
~NR
Upvotes: 0
Views: 1029
Reputation: 21
curl -u admin:***** -k -v -X POST -H "Content-Type: text/plain" https://artifactoryfqdn/artifactory/api/system/storage/gc
Upvotes: 0
Reputation: 2709
Not sure why its undocumented (will take care of that) but you can trigger gc manually with:
POST /api/system/storage/gc
Upvotes: 5