This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.GitLab.
Summary
Gets data about a GitLab CI pipeline
Syntax
public static Task<Pipeline> GitLabGetPipelineAsync(this ICakeContext context, string serverUrl, string accessToken, ProjectId project, long pipelineId)
Attributes
Type |
Description |
NullableContextAttribute |
|
AsyncStateMachineAttribute |
|
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The current Cake context |
serverUrl |
string |
The url of the GitLab server |
accessToken |
string |
The access token for authenticating to the GitLab server |
project |
ProjectId |
The path (name and namespace) or id of the project to get the pipeline data for. |
pipelineId |
long |
The id of the pipeline to load data for. |
Return Value
Type |
Description |
Task<Pipeline> |
|