Build OBJECT

A build from a pipeline

Fields

annotationsAnnotationConnection

Arguments

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

orderAnnotationOrder

Order the annotations

Default value: RECENTLY_CREATED

style[AnnotationStyle!]

blockedStateBuildBlockedStates

The current blocked state of the build

branchString!

The branch for the build

canceledAtDateTime

The time when the build was cancelled

canceledByUser

The user who canceled this build. If the build was canceled, and this value is null, then it was canceled automatically by Buildkite

commitString!

The fully-qualified commit for the build

createdAtDateTime

The time when the build was created

createdByBuildCreator

env[String!]

Custom environment variables passed to this build

finishedAtDateTime

The time when the build finished

idID!

jobsJobConnection

Arguments

afterString

Returns the elements in the list that come after the specified cursor.

agentQueryRules[String!]

Filter jobs based on matching agent query rules (for example, a single tag match "queue=test", or an array of matches ["queue=test", "tag=value"])

beforeString

Returns the elements in the list that come before the specified cursor.

concurrencyJobConcurrencySearch

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

orderJobOrder

Order the jobs

Default value: RECENTLY_CREATED

passedBoolean

Whether or not the command job passed. Passing false will return all failed jobs (including "soft failed" jobs)

priorityJobPrioritySearch

state[JobStates!]

stepJobStepSearch

Filtering jobs based on related step information

type[JobTypes!]

messageString

The message for the build

metaDataBuildMetaDataConnection

Arguments

firstInt

lastInt

numberInt!

The number of the build

organizationOrganization!

pipelinePipeline!

pullRequestPullRequest

rebuiltFromBuild

The build that this build was rebuilt from

scheduledAtDateTime

The time when the build became scheduled for running

sourceBuildSource!

Where the build was created

startedAtDateTime

The time when the build started running

stateBuildStates!

The current state of the build

triggeredFromJobTypeTrigger

The job that this build was triggered from

urlString!

The URL for the build

uuidString!

The UUID for the build

Interfaces