jenkins_stop_build
Stop a running Jenkins build by providing the job and build number. Requires write access enabled (JENKINS_MCP_ENABLE_WRITES=1).
Instructions
Stop a running build. Requires JENKINS_MCP_ENABLE_WRITES=1.
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": "<job>",
"build": "<build>"
},
"name": "jenkins_stop_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| build | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes |