Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties


Description

Start a pipeline run. Field parameters can be used to provide variable settings for a custom pipeline run. Use the wait parameter to wait for the pipeline to be at least at the PAUSED state (or other state provided by the state parameter). When waiting for a PAUSED or COMPLETED pipeline, the action will fail if the pipeline has a result that is not considered successful unless the continue parameter is specified. Alternatively, the same wait related parameters can a used on a separate getPipeline action enabling multiple pipelines to be started in a script without wait and then followed later by getPipeline with wait to handle results. Use reference parameter to set a specific replacement variable to pipeline number started by this action for later use in a script like for the alternative wait option.

Required Parameters

repository, (branch or commit or pullRequest)

Optional Parameters

workspace, selector, selectorType, wait, state, reference, timeout, continue, field

Type

Start

Category

Pipelines

Output Formats

Replacement Variables

pipeline, pipelineResult, pipelineState, pipelineStatus, pipelineUuid, repository, repositoryFullKey, repositoryName, repositoryUuid, workspace, workspaceName, workspaceUuid

Since Version10.0

Examples

startPipeline


Related How To's

Cql query
showLastModifierColumnfalse
showQueryfalse
showCreatorColumnfalse
showLastModifiedDateColumnfalse
cqlQuerylabel = 'cli-action-startPipeline' and label = 'cli-howto' and label = 'cli-product-bitbucketcloud' and space = SUPPORT
showCreatedDateColumnfalse
showTypeColumnfalse
showSpaceColumnfalse
showLabelsColumnfalse