Buildkite

App · 25 actions

Start, cancel and rebuild Buildkite builds, manage pipelines, unblock and retry jobs, read logs and artifacts, annotate builds, and follow new, passed, failed and blocked builds.

Actions

ActionWhat it does
Archive pipelineArchive a pipeline: it becomes read-only and hidden, and its builds are kept.
Cancel buildCancel a build that is scheduled, running or blocked.
Create annotationAdd a note to the top of a build's page, in Markdown or HTML.
Create buildStart a new build of a pipeline on a branch and commit.
Create pipelineCreate a YAML pipeline that builds a repository on a cluster's agents.
Delete annotationRemove an annotation from a build.
Delete pipelineDelete a pipeline with all its builds.
Get access token detailsSee the connected API access token's scopes, description, expiry and owner.
Get agentGet an agent's state, host, queue, version and current job.
Get artifact download linkGet a short-lived link to download an artifact.
Get buildGet a build by its number, with its state, commit, creator and jobs.
Get job logGet the log output of one job of a build.
Get pipelineGet a pipeline's settings, steps and links.
List agentsList an organization's connected agents, optionally by name, hostname or version.
List annotationsList the annotations shown on a build.
List artifactsList the files a build's jobs uploaded, optionally by state or path.
List buildsList builds newest first, for one pipeline or the whole organization, by branch, state, commit or time.
List clustersList an organization's clusters, the groups of agents and queues that run jobs.
List jobsList the jobs (steps) of a build with their state and exit status.
List organizationsList the Buildkite organizations the token can reach.
List pipelinesList an organization's pipelines, optionally by name or repository.
Rebuild buildStart a new build with the same commit, branch, message and environment as an earlier one.
Retry jobRun a failed, timed-out or canceled job again.
Unblock jobUnblock a build's block step so the steps after it run, filling in the step's fields if it has any.
Update pipelineChange a pipeline's name, repository, steps or settings.

Archive pipeline

Archive a pipeline: it becomes read-only and hidden, and its builds are kept.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "allow_rebuilds": true,
    "archived_at": "example",
    "branch_configuration": "example",
    "builds_url": "example",
    "cancel_running_branch_builds": true,
    "cluster_id": "example",
    "configuration": "example",
    "created_at": "example",
    "default_branch": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "repository": "example",
    "skip_queued_branch_builds": true,
    "slug": "example",
    "tags": [
      "example"
    ],
    "url": "example",
    "visibility": "example",
    "web_url": "example"
  }
}

Cancel build

Cancel a build that is scheduled, running or blocked.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "blocked": true,
    "branch": "example",
    "cancel_reason": "example",
    "commit": "example",
    "created_at": "example",
    "creator": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "env": {},
    "finished_at": "example",
    "id": "example",
    "jobs": [
      {
        "agent": {
          "hostname": "example",
          "id": "example",
          "name": "example",
          "web_url": "example"
        },
        "command": "example",
        "created_at": "example",
        "exit_status": 1,
        "finished_at": "example",
        "id": "example",
        "log_url": "example",
        "name": "example",
        "retried": true,
        "retried_in_job_id": "example",
        "retries_count": 1,
        "runnable_at": "example",
        "scheduled_at": "example",
        "soft_failed": true,
        "started_at": "example",
        "state": "example",
        "step_key": "example",
        "type": "example",
        "unblockable": true,
        "web_url": "example"
      }
    ],
    "message": "example",
    "meta_data": {},
    "number": 1,
    "pipeline": {
      "id": "example",
      "name": "example",
      "slug": "example"
    },
    "pull_request": {
      "base": "example",
      "id": "example",
      "repository": "example"
    },
    "scheduled_at": "example",
    "source": "example",
    "started_at": "example",
    "state": "example",
    "url": "example",
    "web_url": "example"
  }
}

Create annotation

Add a note to the top of a build's page, in Markdown or HTML.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
BodybodytextRequired
The annotation, in Markdown or HTML.
Stylestyletext
How the annotation looks. Leave empty for plain.One of: info, success, warning, error.
Contextcontexttext
A name for the annotation. A build has one annotation per name, so the same name replaces or adds to it.
Priorityprioritynumber
Where it shows, from 1 (last) to 10 (first). Leave empty for 3.From 1 to 10.
Appendappendtrue/false
Add the body to the end of the annotation with the same context instead of replacing it.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "body_html": "example",
    "context": "example",
    "created_at": "example",
    "id": "example",
    "job_id": "example",
    "priority": 1,
    "scope": "example",
    "style": "example",
    "updated_at": "example"
  }
}

Create build

Start a new build of a pipeline on a branch and commit.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
BranchbranchtextRequired
The branch to build, such as main.
Commitcommittext
The commit SHA, tag or ref to build. Leave empty for the branch's latest commit (HEAD).
Messagemessagetext
A message shown on the build.
Environment variablesenvobject
Environment variables for the build, by name.
Meta-datameta_dataobject
Meta-data for the build's steps to read, by key.
Author nameauthor_nametext
The name to show as the build's author. Leave empty for you.
Author emailauthor_emailtext
The email to show as the build's author.
Clean checkoutclean_checkouttrue/false
Make the agent delete its old copy of the repository and check it out afresh.
Ignore branch filterignore_pipeline_branch_filterstrue/false
Build even if the pipeline's branch filter would skip this branch.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "blocked": true,
    "branch": "example",
    "cancel_reason": "example",
    "commit": "example",
    "created_at": "example",
    "creator": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "env": {},
    "finished_at": "example",
    "id": "example",
    "jobs": [
      {
        "agent": {
          "hostname": "example",
          "id": "example",
          "name": "example",
          "web_url": "example"
        },
        "command": "example",
        "created_at": "example",
        "exit_status": 1,
        "finished_at": "example",
        "id": "example",
        "log_url": "example",
        "name": "example",
        "retried": true,
        "retried_in_job_id": "example",
        "retries_count": 1,
        "runnable_at": "example",
        "scheduled_at": "example",
        "soft_failed": true,
        "started_at": "example",
        "state": "example",
        "step_key": "example",
        "type": "example",
        "unblockable": true,
        "web_url": "example"
      }
    ],
    "message": "example",
    "meta_data": {},
    "number": 1,
    "pipeline": {
      "id": "example",
      "name": "example",
      "slug": "example"
    },
    "pull_request": {
      "base": "example",
      "id": "example",
      "repository": "example"
    },
    "scheduled_at": "example",
    "source": "example",
    "started_at": "example",
    "state": "example",
    "url": "example",
    "web_url": "example"
  }
}

Create pipeline

Create a YAML pipeline that builds a repository on a cluster's agents.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
NamenametextRequired
The pipeline's name. Its address (slug) is made from it.
Repository URLrepositorytextRequired
The Git repository to build, such as git@github.com:acme/app.git.
Clustercluster_idtextRequired
The cluster whose agents run the pipeline's jobs.
Steps (YAML)configurationtextRequired
The pipeline's steps, in Buildkite's YAML, such as steps: followed by - command: "make test".
Descriptiondescriptiontext
A short description of the pipeline.
Default branchdefault_branchtext
The branch new builds start on, such as main.
Branch filterbranch_configurationtext
Only build pushes to branches matching this filter, such as main feature/*. Leave empty for every branch.
Visibilityvisibilitytext
Who can see the pipeline. Leave empty for private.One of: private, public.
Tagstagslist
Tags to show on the pipeline.
Skip queued branch buildsskip_queued_branch_buildstrue/false
Skip builds on a branch that haven't started when a newer one is created.
Cancel running branch buildscancel_running_branch_buildstrue/false
Cancel running builds on a branch when a newer one is created.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "allow_rebuilds": true,
    "archived_at": "example",
    "branch_configuration": "example",
    "builds_url": "example",
    "cancel_running_branch_builds": true,
    "cluster_id": "example",
    "configuration": "example",
    "created_at": "example",
    "default_branch": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "repository": "example",
    "skip_queued_branch_builds": true,
    "slug": "example",
    "tags": [
      "example"
    ],
    "url": "example",
    "visibility": "example",
    "web_url": "example"
  }
}

Delete annotation

Remove an annotation from a build.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
Annotation IDannotation_idtextRequired
The annotation's ID.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {}
}

Delete pipeline

Delete a pipeline with all its builds. This can't be undone.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {}
}

Get access token details

See the connected API access token's scopes, description, expiry and owner.

Inputs

None.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "created_at": "example",
    "description": "example",
    "expires_at": "example",
    "scopes": [
      "example"
    ],
    "user": {
      "email": "example",
      "name": "example"
    },
    "uuid": "example"
  }
}

Get agent

Get an agent's state, host, queue, version and current job.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
Agentagent_idtextRequired
The agent.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "arch": "example",
    "connected_at": "example",
    "connection_state": "example",
    "created_at": "example",
    "hostname": "example",
    "id": "example",
    "ip_address": "example",
    "job": {
      "id": "example",
      "name": "example",
      "state": "example",
      "web_url": "example"
    },
    "last_job_finished_at": "example",
    "meta_data": [
      "example"
    ],
    "name": "example",
    "os_id": "example",
    "priority": 1,
    "queue": "example",
    "user_agent": "example",
    "version": "example",
    "web_url": "example"
  }
}

Get a short-lived link to download an artifact. It works for about a minute.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
Job IDjob_idtextRequired
The ID of the job that uploaded the artifact (its job_id).
Artifact IDartifact_idtextRequired
The artifact's ID.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "url": "example"
  }
}

Get build

Get a build by its number, with its state, commit, creator and jobs.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "blocked": true,
    "branch": "example",
    "cancel_reason": "example",
    "commit": "example",
    "created_at": "example",
    "creator": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "env": {},
    "finished_at": "example",
    "id": "example",
    "jobs": [
      {
        "agent": {
          "hostname": "example",
          "id": "example",
          "name": "example",
          "web_url": "example"
        },
        "command": "example",
        "created_at": "example",
        "exit_status": 1,
        "finished_at": "example",
        "id": "example",
        "log_url": "example",
        "name": "example",
        "retried": true,
        "retried_in_job_id": "example",
        "retries_count": 1,
        "runnable_at": "example",
        "scheduled_at": "example",
        "soft_failed": true,
        "started_at": "example",
        "state": "example",
        "step_key": "example",
        "type": "example",
        "unblockable": true,
        "web_url": "example"
      }
    ],
    "message": "example",
    "meta_data": {},
    "number": 1,
    "pipeline": {
      "id": "example",
      "name": "example",
      "slug": "example"
    },
    "pull_request": {
      "base": "example",
      "id": "example",
      "repository": "example"
    },
    "scheduled_at": "example",
    "source": "example",
    "started_at": "example",
    "state": "example",
    "url": "example",
    "web_url": "example"
  }
}

Get job log

Get the log output of one job of a build.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
Jobjob_idtextRequired
The job (one step of a build).

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "content": "example",
    "size": 1,
    "url": "example"
  }
}

Get pipeline

Get a pipeline's settings, steps and links.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "allow_rebuilds": true,
    "archived_at": "example",
    "branch_configuration": "example",
    "builds_url": "example",
    "cancel_running_branch_builds": true,
    "cluster_id": "example",
    "configuration": "example",
    "created_at": "example",
    "default_branch": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "repository": "example",
    "skip_queued_branch_builds": true,
    "slug": "example",
    "tags": [
      "example"
    ],
    "url": "example",
    "visibility": "example",
    "web_url": "example"
  }
}

List agents

List an organization's connected agents, optionally by name, hostname or version.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
Namenametext
Only the agent with this name.
Hostnamehostnametext
Only agents on this hostname.
Versionversiontext
Only agents of this exact version.
Pagepagenumber
Which page of agents to read, starting at 1.At least 1.
Per pageper_pagenumber
How many agents to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

datalist
The response from Buildkite.
Example output
{
  "data": [
    {
      "arch": "example",
      "connected_at": "example",
      "connection_state": "example",
      "created_at": "example",
      "hostname": "example",
      "id": "example",
      "ip_address": "example",
      "job": {
        "id": "example",
        "name": "example",
        "state": "example",
        "web_url": "example"
      },
      "last_job_finished_at": "example",
      "meta_data": [
        "example"
      ],
      "name": "example",
      "os_id": "example",
      "priority": 1,
      "queue": "example",
      "user_agent": "example",
      "version": "example",
      "web_url": "example"
    }
  ]
}

List annotations

List the annotations shown on a build.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
Pagepagenumber
Which page of annotations to read, starting at 1.At least 1.
Per pageper_pagenumber
How many annotations to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

datalist
The response from Buildkite.
Example output
{
  "data": [
    {
      "body_html": "example",
      "context": "example",
      "created_at": "example",
      "id": "example",
      "job_id": "example",
      "priority": 1,
      "scope": "example",
      "style": "example",
      "updated_at": "example"
    }
  ]
}

List artifacts

List the files a build's jobs uploaded, optionally by state or path.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
Statestatetext
Only artifacts in this state.One of: new, error, finished (Finished (passed, failed, blocked or canceled)), deleted, expired.
Pathpathtext
Only artifacts at this path. A * matches any characters, such as logs/*.
Pagepagenumber
Which page of artifacts to read, starting at 1.At least 1.
Per pageper_pagenumber
How many artifacts to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

datalist
The response from Buildkite.
Example output
{
  "data": [
    {
      "dirname": "example",
      "download_url": "example",
      "file_size": 1,
      "filename": "example",
      "id": "example",
      "job_id": "example",
      "mime_type": "example",
      "path": "example",
      "sha1sum": "example",
      "state": "example"
    }
  ]
}

List builds

List builds newest first, for one pipeline or the whole organization, by branch, state, commit or time.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
Pipelinepipelinetext
The pipeline.
Branchbranchtext
Only builds on this branch. A * matches any characters, such as *dev*.
Statesstatelist
Only builds in these states.One or more of: scheduled, running, passed, failing, failed, blocked, canceling, canceled, skipped, not_run (Not run), finished (Finished (passed, failed, blocked or canceled)).
Commitcommittext
Only builds of this commit (its full SHA).
Created fromcreated_fromdate and time
Only builds created at or after this time.
Created beforecreated_todate and time
Only builds created before this time.
Finished fromfinished_fromdate and time
Only builds that finished at or after this time.
Include jobsinclude_jobstrue/false
Include each build's jobs. Leave off for a quicker answer.
Pagepagenumber
Which page of builds to read, starting at 1.At least 1.
Per pageper_pagenumber
How many builds to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

datalist
The response from Buildkite.
Example output
{
  "data": [
    {
      "blocked": true,
      "branch": "example",
      "cancel_reason": "example",
      "commit": "example",
      "created_at": "example",
      "creator": {
        "email": "example",
        "id": "example",
        "name": "example"
      },
      "env": {},
      "finished_at": "example",
      "id": "example",
      "jobs": [
        {
          "agent": {
            "hostname": "example",
            "id": "example",
            "name": "example",
            "web_url": "example"
          },
          "command": "example",
          "created_at": "example",
          "exit_status": 1,
          "finished_at": "example",
          "id": "example",
          "log_url": "example",
          "name": "example",
          "retried": true,
          "retried_in_job_id": "example",
          "retries_count": 1,
          "runnable_at": "example",
          "scheduled_at": "example",
          "soft_failed": true,
          "started_at": "example",
          "state": "example",
          "step_key": "example",
          "type": "example",
          "unblockable": true,
          "web_url": "example"
        }
      ],
      "message": "example",
      "meta_data": {},
      "number": 1,
      "pipeline": {
        "id": "example",
        "name": "example",
        "slug": "example"
      },
      "pull_request": {
        "base": "example",
        "id": "example",
        "repository": "example"
      },
      "scheduled_at": "example",
      "source": "example",
      "started_at": "example",
      "state": "example",
      "url": "example",
      "web_url": "example"
    }
  ]
}

List clusters

List an organization's clusters, the groups of agents and queues that run jobs.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
Pagepagenumber
Which page of clusters to read, starting at 1.At least 1.
Per pageper_pagenumber
How many clusters to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

datalist
The response from Buildkite.
Example output
{
  "data": [
    {
      "color": "example",
      "created_at": "example",
      "default_queue_id": "example",
      "description": "example",
      "emoji": "example",
      "id": "example",
      "name": "example",
      "web_url": "example"
    }
  ]
}

List jobs

List the jobs (steps) of a build with their state and exit status.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
Pagepagenumber
Which page of jobs to read, starting at 1.At least 1.
Per pageper_pagenumber
How many jobs to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "items": [
      {
        "agent": {
          "hostname": "example",
          "id": "example",
          "name": "example",
          "web_url": "example"
        },
        "command": "example",
        "created_at": "example",
        "exit_status": 1,
        "finished_at": "example",
        "id": "example",
        "log_url": "example",
        "name": "example",
        "retried": true,
        "retried_in_job_id": "example",
        "retries_count": 1,
        "runnable_at": "example",
        "scheduled_at": "example",
        "soft_failed": true,
        "started_at": "example",
        "state": "example",
        "step_key": "example",
        "type": "example",
        "unblockable": true,
        "web_url": "example"
      }
    ]
  }
}

List organizations

List the Buildkite organizations the token can reach.

Inputs

Pagepagenumber
Which page of organizations to read, starting at 1.At least 1.
Per pageper_pagenumber
How many organizations to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

datalist
The response from Buildkite.
Example output
{
  "data": [
    {
      "created_at": "example",
      "id": "example",
      "name": "example",
      "slug": "example",
      "url": "example",
      "web_url": "example"
    }
  ]
}

List pipelines

List an organization's pipelines, optionally by name or repository.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
Name containsnametext
Only pipelines whose name contains this text.
Repository containsrepositorytext
Only pipelines whose repository URL contains this text.
Pagepagenumber
Which page of pipelines to read, starting at 1.At least 1.
Per pageper_pagenumber
How many pipelines to return on a page, up to 100. Buildkite's default is 30.From 1 to 100.

Outputs

datalist
The response from Buildkite.
Example output
{
  "data": [
    {
      "allow_rebuilds": true,
      "archived_at": "example",
      "branch_configuration": "example",
      "builds_url": "example",
      "cancel_running_branch_builds": true,
      "cluster_id": "example",
      "configuration": "example",
      "created_at": "example",
      "default_branch": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "repository": "example",
      "skip_queued_branch_builds": true,
      "slug": "example",
      "tags": [
        "example"
      ],
      "url": "example",
      "visibility": "example",
      "web_url": "example"
    }
  ]
}

Rebuild build

Start a new build with the same commit, branch, message and environment as an earlier one.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "blocked": true,
    "branch": "example",
    "cancel_reason": "example",
    "commit": "example",
    "created_at": "example",
    "creator": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "env": {},
    "finished_at": "example",
    "id": "example",
    "jobs": [
      {
        "agent": {
          "hostname": "example",
          "id": "example",
          "name": "example",
          "web_url": "example"
        },
        "command": "example",
        "created_at": "example",
        "exit_status": 1,
        "finished_at": "example",
        "id": "example",
        "log_url": "example",
        "name": "example",
        "retried": true,
        "retried_in_job_id": "example",
        "retries_count": 1,
        "runnable_at": "example",
        "scheduled_at": "example",
        "soft_failed": true,
        "started_at": "example",
        "state": "example",
        "step_key": "example",
        "type": "example",
        "unblockable": true,
        "web_url": "example"
      }
    ],
    "message": "example",
    "meta_data": {},
    "number": 1,
    "pipeline": {
      "id": "example",
      "name": "example",
      "slug": "example"
    },
    "pull_request": {
      "base": "example",
      "id": "example",
      "repository": "example"
    },
    "scheduled_at": "example",
    "source": "example",
    "started_at": "example",
    "state": "example",
    "url": "example",
    "web_url": "example"
  }
}

Retry job

Run a failed, timed-out or canceled job again. The answer is the new job.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
Jobjob_idtextRequired
The job (one step of a build).

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "agent": {
      "hostname": "example",
      "id": "example",
      "name": "example",
      "web_url": "example"
    },
    "command": "example",
    "created_at": "example",
    "exit_status": 1,
    "finished_at": "example",
    "id": "example",
    "log_url": "example",
    "name": "example",
    "retried": true,
    "retried_in_job_id": "example",
    "retries_count": 1,
    "runnable_at": "example",
    "scheduled_at": "example",
    "soft_failed": true,
    "started_at": "example",
    "state": "example",
    "step_key": "example",
    "type": "example",
    "unblockable": true,
    "web_url": "example"
  }
}

Unblock job

Unblock a build's block step so the steps after it run, filling in the step's fields if it has any.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Buildbuild_numbernumberRequired
The build's number in its pipeline, such as 27.At least 1.
Jobjob_idtextRequired
The job (one step of a build).
Fieldsfieldsobject
Values for the block step's fields, by field key, such as release-name.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "agent": {
      "hostname": "example",
      "id": "example",
      "name": "example",
      "web_url": "example"
    },
    "command": "example",
    "created_at": "example",
    "exit_status": 1,
    "finished_at": "example",
    "id": "example",
    "log_url": "example",
    "name": "example",
    "retried": true,
    "retried_in_job_id": "example",
    "retries_count": 1,
    "runnable_at": "example",
    "scheduled_at": "example",
    "soft_failed": true,
    "started_at": "example",
    "state": "example",
    "step_key": "example",
    "type": "example",
    "unblockable": true,
    "web_url": "example"
  }
}

Update pipeline

Change a pipeline's name, repository, steps or settings. Only the fields filled in change.

Inputs

OrganizationorganizationtextRequired
The Buildkite organization.
PipelinepipelinetextRequired
The pipeline.
Namenametext
The pipeline's name. Its address (slug) is made from it.
Repository URLrepositorytext
The Git repository to build, such as git@github.com:acme/app.git.
Clustercluster_idtext
The cluster whose agents run the pipeline's jobs.
Steps (YAML)configurationtext
The pipeline's steps, in Buildkite's YAML, such as steps: followed by - command: "make test".
Descriptiondescriptiontext
A short description of the pipeline.
Default branchdefault_branchtext
The branch new builds start on, such as main.
Branch filterbranch_configurationtext
Only build pushes to branches matching this filter, such as main feature/*. Leave empty for every branch.
Visibilityvisibilitytext
Who can see the pipeline. Leave empty for private.One of: private, public.
Tagstagslist
Tags to show on the pipeline.
Skip queued branch buildsskip_queued_branch_buildstrue/false
Skip builds on a branch that haven't started when a newer one is created.
Cancel running branch buildscancel_running_branch_buildstrue/false
Cancel running builds on a branch when a newer one is created.

Outputs

dataobject
The response from Buildkite.
Example output
{
  "data": {
    "allow_rebuilds": true,
    "archived_at": "example",
    "branch_configuration": "example",
    "builds_url": "example",
    "cancel_running_branch_builds": true,
    "cluster_id": "example",
    "configuration": "example",
    "created_at": "example",
    "default_branch": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "repository": "example",
    "skip_queued_branch_builds": true,
    "slug": "example",
    "tags": [
      "example"
    ],
    "url": "example",
    "visibility": "example",
    "web_url": "example"
  }
}

On this page