Start a job via CLI and follow it
Start a job and wait until it finishes, showing the console output (-f -v)
java -jar jenkins-cli.jar -s https://<host> -auth user:token build <name> -f -v
- tool
- jenkins2 commands
- tags
- jenkinscimonitoring
More jenkins commands
-
curl -X POST -F "jenkinsfile=<Jenkinsfile" https://<host>/pipeline-model-converter/validateCheck a Jenkinsfile on the server before you commit, to catch syntax errors early