stop_build
Cancel an in-progress Jenkins build by specifying the job name and build number to halt execution immediately.
Instructions
Request cancellation of an in-progress build.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_name": "<job_name>",
"build_number": "<build_number>"
},
"name": "stop_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| build_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||