Create a new Jenkins job from an XML config
Update an existing Jenkins job with new XML config
Trigger a build for a specific job
Remove a Jenkins job
java -jar jenkins-cli.jar -s http://localhost:8080/ delete-job my-job
Deletes a Jenkins job. Useful for cleanup or removing obsolete jobs.
Delete job named old-job
java -jar jenkins-cli.jar -s http://localhost:8080/ delete-job old-job
Retrieve the XML configuration of a job
Enable a disabled job
Disable a job to prevent execution