This repository includes some groovy scripts that you can run remotely against a jenkins server to get info that might help with administration tasks.
The jrun
script is included as a convenience wrapper
for running the curl command. To use set:
JENKINS_USER: jenkins user name (ie, bob.smith@linaro.org) JENKINS_PASSWORD: an API key you created in jenkins for your user JENKINS_SERVER: https://jenkins.url
Then do:
./jrun queue.groovy
This script will then attempt to hit the /scriptText endpoint. If you'd prefer the html response, use /script instead