Sign in

Create job

documented

Create a new Jenkins job by POSTing a Job’s config.xml to this endpoint (Content-Type: application/xml).

POST /createItem?name={job_name}Jobsno implementation yet0 runs
No 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-ci.org/createItem?name={{$job_name}}" \
  -X POST \
  -u "{{$jenkins_username}}:{{JENKINS-CI_API_KEY}}" \
  -H "Content-Type: text/xml" \
  -H "Accept: application/xml" \
  --data-binary "@{{$config_xml_path}}"