Command
java -jar jenkins-cli.jar -s http://localhost:8080/ update-job my-job < config.xml
Explanation
Updates the configuration of an existing job. Useful for applying changes programmatically without using the Jenkins UI.
Examples
Update job configuration
java -jar jenkins-cli.jar -s http://localhost:8080/ update-job my-job < new-config.xml