How to execute grovvy script remotely on Jenkins server?

A Jenkins Admin can execute groovy scripts remotely by sending an HTTP POST request to /script/ url or /scriptText/. curl example via bash [code] curl -d “script=<your_script_here>” https://jenkins/script # or…

Read more »