Retry a build step
Queues a new build that runs one store upload of a finished build again, plus any later upload that has not succeeded, with the artifacts the build already stored. Only steps listed in the build's `retryable_steps` can be retried; other steps need a full re-run.
retry_build_stepQueues a new build that runs one store upload of a finished build again,
plus any later upload that has not succeeded, with the artifacts the
build already stored. Only steps listed in the build's
retryable_steps can be retried; other steps need a full re-run.
Authorization
bearer_auth In: header
Path Parameters
Build whose step to retry
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/builds/string/retry-step" \ -H "Content-Type: application/json" \ -d '{ "step": "string" }'{ "build": { "approval": null, "branch": "string", "build_number": 0, "changelog": "string", "commit_sha": "string", "config_snapshot": {}, "context": null, "created_at": 0, "exit_code": 0, "finished_at": 0, "id": "string", "pipeline_id": "string", "project_id": "string", "queued_at": 0, "retry_steps": [ "string" ], "runner_id": "string", "runner_policy_block_reason": null, "source_build_id": "string", "started_at": 0, "status": "queued", "step_results": [ { "duration_ms": 0, "exit_code": 0, "finished_at": 0, "name": "string", "publish_from_file": true, "started_at": 0, "status": "string" } ], "trigger_actor": "string", "trigger_event": "string", "trigger_ref": "string", "trigger_type": "manual", "updated_at": 0 }}