GitLab pipeline (gitlab-pipeline)
This channel is used to trigger GitLab pipelines on a branch or a tag, with some variables.
Note
This channel does not use the custom template.
Links
Configuration
-
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 GitLab configuration to use for the connection.
-
project - String - required - Full path of the GitLab project, subgroups included, like
group/subgroup/project. Templated. -
ref - String - required - Branch or tag to run the pipeline on. Templated.
-
timeoutSeconds - Int - required - Timeout in seconds, when waiting for the pipeline in SYNC mode
-
variables - List - required - Variables to pass to the pipeline. Their values are templated. They are not masked: secrets belong in the CI/CD variables of the GitLab project.
-
name - String - required - Name of the variable
-
value - String - required - Value of the variable. Templated.
-
Output
-
id - Long - optional - Identifier of the pipeline in the GitLab instance, filled in once it is triggered
-
iid - Long - optional - Number of the pipeline inside its project, the one GitLab displays, filled in once it is triggered
-
project - String - required - Full path of the GitLab project
-
ref - String - required - Branch or tag the pipeline runs on
-
status - String - optional - Last known status of the pipeline: created, waiting_for_resource, preparing, pending or running while it runs, then success, failed, canceled, skipped or manual. Only followed to completion in SYNC mode.
-
url - String - optional - URL 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.
-