stop_build
Stop a running Jenkins build by job name and build number. Destructive: the build is marked ABORTED and loses work; choose stop, term, or kill mode.
Instructions
Stop a running build.
Destructive: the build is abandoned and marked ABORTED, and any work it had done is lost. mode escalates from stop to term and then kill. Freestyle builds support only stop; term and kill are Pipeline-only and require workflow-job. Requires MCP_ALLOW_BUILD_WRITE, MCP_ALLOW_DESTRUCTIVE and MCP_ALLOW_BUILD_STOP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | stop | |
| job_name | Yes | ||
| build_number | Yes |