Sign in

Stop build

documented

Abort a running build for the specified job/number.

POST /job/{job_name}/{build_number}/stopBuildsno 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 "{{$jenkins_base_url}}/job/{{$job_name}}/{{$build_number}}/stop" \
  -X POST \
  -u "{{$username}}:{{JENKINS-CI_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d ''