-
New Feature
-
Resolution: Fixed
-
Minor
-
None
I can see that when I'm running the garbage collector, it sends the following 'GET' request
https://<my jenkins url>/monitoring?action=gc&token=<token>
So I have tried to create a freestyle jon and to run the same http 'GET' request to the url with curl but I'm getting the following error
curl: (22) The requested URL returned error: 403 Forbidden
I have tried with the same token that the monitoring-plugin uses, and I have also tried with an administrator api token and I got the same error
any idea how can I trigger garbage collector with an api http request?