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

  • app-slug string Required

    App slug

  • pipeline-id string Required

    Pipeline id

Body Required

Pipeline rebuild parameters

  • partial boolean
  • triggered_by string

Responses

  • 201

    Created

  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 412

    Precondition Failed

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
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"
}