capabilities.work

Rebuild Latest Build

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

Recipe · 3 steps

Rebuild Latest Build

with Buildkite · Continuous Integration Management
Works with AI assistants

Rebuild the most recent build of a pipeline and poll it.

  1. List builds for the pipeline and capture the most recent build number.
  2. Rebuild the most recent build, re-queuing a new build from the same commit and configuration.
  3. Poll the new build until it leaves the running and scheduled states.
What you'll need to have ready
  • org: Organization slug that owns the pipeline.
  • pipeline: Pipeline slug to rebuild the latest build of.
For your developer

Arazzo workflow buildkite-com:rebuild-latest-build, 3 operations: listBuilds → rebuildBuild → getBuild. Specs on APIs.io.