- Place the jenkins-cli script into your path
- Place the jenkins-cli.jar file anywhere you want
- Run the script, it will check for the following:
- If .jenkins.creds does not exist, it will create it and ask for your username and api key
- Get your API Key at $JENKINS_SERVER/me/configure
 
- Get your API Key at 
- If jenkins-cli.jar is in the same directory as the script or in your path. If not, it will ask for the path.
 
- If .jenkins.creds does not exist, it will create it and ask for your username and api key
- jenkins-cli list-jobs
- Pure bash helpers to help parse items
- Pure bash REST requests for operations that the CLI tool does not support