Update job configuration
documentedUpdate a job’s configuration by POSTing XML to this endpoint.
POST /job/{job_name}/config.xmlJobsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$jenkins_url}}/job/{{$job_name}}/config.xml" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/xml" \
-H "Accept: application/xml" \
-H "Jenkins-Crumb: {{$crumb}}" \
--data-binary "@{{$config_xml_path}}"