Rebuilds a pipeline

POST /apps/{app-slug}/pipelines/{pipeline-id}/rebuild

Rebuilds a pipeline. You can rebuild the whole pipeline or only the unsuccessful and subsequent workflows by setting the partial flag to true.

Path parameters

Body Required

Pipeline rebuild parameters

Responses

  • Created

  • Bad Request

    Hide response attribute Show response attribute object
  • Unauthorized

    Hide response attribute Show response attribute object
  • Not Found

    Hide response attribute Show response attribute object
  • Precondition Failed

    Hide response attribute Show response attribute object
  • Internal Server Error

    Hide response attribute Show response attribute object
POST /apps/{app-slug}/pipelines/{pipeline-id}/rebuild
curl \
 --request POST 'https://api.bitrise.io/v0.1/apps/{app-slug}/pipelines/{pipeline-id}/rebuild' \
 --header "Authorization: $API_KEY" \
 --data '{"partial":true,"triggered_by":"string"}'
Request examples
{
  "partial": true,
  "triggered_by": "string"
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (412)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}