capabilities.work

Cancel Running Build

A 3-step recipe with Buildkite. We can help you get access.

Recipe · 3 steps

Cancel Running Build

with Buildkite · Continuous Integration Management
Works with AI assistants

Cancel the most recent running build of a pipeline.

  1. List builds for the pipeline and capture the most recent build number and state.
  2. Cancel the most recent in-progress build.
  3. Read the build back to confirm it has moved into a canceling or canceled state.
What you'll need to have ready
  • org: Organization slug that owns the pipeline.
  • pipeline: Pipeline slug to cancel the latest build of.
For your developer

Arazzo workflow buildkite-com:cancel-running-build, 3 operations: listBuilds → cancelBuild → getBuild. Specs on APIs.io.