capabilities.work

Retry Failed Job

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

Recipe · 3 steps

Retry Failed Job

with Buildkite · Continuous Integration Management
Works with AI assistants

Retry a failed job and poll the build to completion.

  1. Read the build to confirm it is terminal and capture its jobs before retrying.
  2. Retry the supplied failed job, which re-queues it for an available agent.
  3. Poll the build until the retried job completes and the build leaves the running and scheduled states.
What you'll need to have ready
  • org: Organization slug that owns the pipeline.
  • pipeline: Pipeline slug the build belongs to.
  • number: Build number containing the job to retry.
  • job: UUID of the failed job to retry.
For your developer

Arazzo workflow buildkite-com:retry-failed-job, 3 operations: getBuild → retryJob → getBuild. Specs on APIs.io.