Bitbucket Pipelines (bitbucket-pipelines)
This channel is used to trigger Bitbucket pipelines on a branch, with some variables.
Note
This channel does not use the custom template.
Links
Configuration
-
branch - String - required - Branch to run the pipeline on. Templated.
-
callMode - ASYNC, SYNC - required - How to call the pipeline. ASYNC (the default) means that the pipeline is triggered in "fire and forget" mode. When set to SYNC, Yontrack waits for the completion of the pipeline, with a given timeout, and reports an error if the pipeline does not succeed.
-
config - String - required - Name of the Bitbucket Cloud configuration to use for the connection.
-
pipeline - String - optional - Name of a custom pipeline (as defined under
pipelines.custominbitbucket-pipelines.yml). Empty to run the default pipeline of the branch. Templated. -
repository - String - required - Slug of the repository. Templated.
-
timeoutSeconds - Int - required - Timeout in seconds, when waiting for the pipeline in SYNC mode
-
variables - List - required - Variables to pass to the pipeline, as non-secured variables. Their values are templated. Secrets belong in the repository variables.
-
name - String - required - Name of the variable
-
value - String - required - Value of the variable. Templated.
-
-
workspace - String - required - Slug of the Bitbucket Cloud workspace. Templated.
Output
-
branch - String - required - Branch the pipeline runs on
-
buildNumber - Int - optional - Build number of the pipeline, filled in once it is triggered
-
pipeline - String - optional - Name of the custom pipeline, empty for the default pipeline of the branch
-
repository - String - required - Slug of the repository
-
state - String - optional - Last known state of the pipeline: PARSING, PENDING or IN_PROGRESS while it runs, then SUCCESSFUL, FAILED, ERROR, STOPPED or EXPIRED. Only followed in SYNC mode.
-
url - String - optional - URL of the pipeline run, filled in once it is triggered
-
uuid - String - optional - UUID of the pipeline, filled in once it is triggered
-
variables - List - required - Variables passed to the pipeline
-
name - String - required - Name of the variable
-
value - String - required - Value of the variable. Templated.
-
-
workspace - String - required - Slug of the Bitbucket Cloud workspace