Pipeline OBJECT

A pipeline

Fields

allowRebuildsBoolean

Whether existing builds can be rebuilt as new builds.

archivedBoolean

Whether this pipeline has been archived

archivedAtDateTime

The time when the pipeline was archived

archivedByUser

The user that archived this pipeline

branchConfigurationString

A branch filter pattern to limit which pushed branches trigger builds on this pipeline.

buildRetentionEnabledBoolean

Choose to keep builds or remove them after a set time period. Pipelines are scanned once a day for builds that can be removed according to these settings.

buildRetentionNumberInt

The minimum number of builds to keep in the pipeline regardless of how old the builds are.

buildRetentionPeriodBuildRetentionPeriods

How long is a build kept before it is automatically removed.

buildsBuildConnection

Returns the builds for this pipeline

Arguments

firstIntrequired

Returns the first n elements from the list.

afterStringrequired

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

lastIntrequired

Returns the last n elements from the list.

beforeStringrequired

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

stateBuildStatesrequired

branchStringrequired

Use %default to search by the Pipelines default branch

commitStringrequired

metaDataStringrequired

createdAtFromDateTimerequired

createdAtToDateTimerequired

cancelIntermediateBuildsBoolean

When a new build is created on a branch, any previous builds that are running on the same branch will be automatically cancelled

cancelIntermediateBuildsBranchFilterString

Limit which branches build cancelling applies to, for example !main will ensure that the main branch won't have it's builds automatically cancelled.

clusterCluster

colorString

The color of the pipeline

commitShortLengthInt

The shortest length to which any git commit ID may be truncated while guaranteeing referring to a unique commit

createdAtDateTime

The time when the pipeline was created

createdByUser

The user who created the pipeline

defaultBranchString

The default branch for this pipeline

defaultTimeoutInMinutesInt

The default timeout in minutes for all command steps in this pipeline. This can still be overridden in any command step

descriptionString

The short description of the pipeline

emojiString

The emoji of the pipeline

favoriteBoolean

Returns true if the viewer has favorited this pipeline

idID

jobsJobConnection

Arguments

firstIntrequired

Returns the first n elements from the list.

afterStringrequired

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

lastIntrequired

Returns the last n elements from the list.

beforeStringrequired

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

typeJobTypesrequired

stateJobStatesrequired

priorityJobPrioritySearchrequired

agentQueryRulesStringrequired

concurrencyJobConcurrencySearchrequired

passedBooleanrequired

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

stepJobStepSearchrequired

Filtering jobs based on related step information

orderJobOrder

Order the jobs

Default value: RECENTLY_CREATED

maximumTimeoutInMinutesInt

The maximum timeout in minutes for all command steps in this pipeline. Any command step without a timeout or with a timeout greater than this value will be set to this value.

metricsPipelineMetricConnection

Arguments

firstIntrequired

lastIntrequired

nameString

The name of the pipeline

nextBuildNumberInt

The next build number in the sequence

organizationOrganization

permissionsPipelinePermissions

publicBooleandeprecated

Deprecated: Use `visibility`

Whether this pipeline is visible to everyone, including people outside this organization

repositoryRepository

The repository for this pipeline

schedulesPipelineScheduleConnection

Schedules for this pipeline

Arguments

firstIntrequired

skipIntermediateBuildsBoolean

When a new build is created on a branch, any previous builds that haven't yet started on the same branch will be automatically marked as skipped.

skipIntermediateBuildsBranchFilterString

Limit which branches build skipping applies to, for example !main will ensure that the main branch won't have it's builds automatically skipped.

slugString

The slug of the pipeline

stepsPipelineSteps

tagsPipelineTag

Tags that have been given to this pipeline

teamsTeamPipelineConnection

Teams associated with this pipeline

Arguments

firstIntrequired

Returns the first n elements from the list.

afterStringrequired

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

lastIntrequired

Returns the last n elements from the list.

beforeStringrequired

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

searchStringrequired

Search for teams associated that this pipeline is assigned to

orderTeamPipelineOrder

Order the pipelines returned

Default value: RECENTLY_CREATED

urlString

The URL for the pipeline

uuidString

The UUID of the pipeline

visibilityPipelineVisibility

Whether this pipeline is visible to everyone, including people outside this organization

webhookURLString

The URL to use in your repository settings for commit webhooks

Interfaces

Node