Cake.GitLab

Cake aliases for interacting with GitLab

#addin nuget:?package=Cake.GitLab&version=1.0.108

dotnet add package Cake.GitLab --version 1.0.108

<PackageReference Include="Cake.GitLab" Version="1.0.108" />

Aliases

Provides aliases for interacting with a GitLab Server

Helpers

GitLabTryGetCurrentProjectIdentity() Attempts to determine the ProjectIdentity from environment variables.
GitLabTryGetCurrentServerIdentity() Attempts to determine the ServerIdentity from environment variables.

Pipelines

GitLabGetPipelineAsync(ProjectConnection, long) Gets data about a GitLab CI pipeline
GitLabGetPipelineAsync(ProjectIdentity, string, long) Gets data about a GitLab CI pipeline
GitLabGetPipelineAsync(ServerConnection, ProjectId, long) Gets data about a GitLab CI pipeline
GitLabGetPipelineAsync(ServerIdentity, string, ProjectId, long) Gets data about a GitLab CI pipeline
GitLabGetPipelineAsync(string, string, ProjectId, long) Gets data about a GitLab CI pipeline
GitLabSetPipelineNameAsync(ProjectConnection, long, string) Updates the name of the specified pipeline
GitLabSetPipelineNameAsync(ProjectIdentity, string, long, string) Updates the name of the specified pipeline
GitLabSetPipelineNameAsync(ServerConnection, ProjectId, long, string) Updates the name of the specified pipeline
GitLabSetPipelineNameAsync(ServerIdentity, string, ProjectId, long, string) Updates the name of the specified pipeline
GitLabSetPipelineNameAsync(string, string, ProjectId, long, string) Updates the name of the specified pipeline

Repository

GitLabRepositoryCreateTagAsync(ProjectConnection, string, string) Creates a new tag in the project repository
GitLabRepositoryCreateTagAsync(ProjectIdentity, string, string, string) Creates a new tag in the project repository
GitLabRepositoryCreateTagAsync(ServerConnection, ProjectId, string, string) Creates a new tag in the project repository
GitLabRepositoryCreateTagAsync(ServerIdentity, string, ProjectId, string, string) Creates a new tag in the project repository
GitLabRepositoryCreateTagAsync(string, string, ProjectId, string, string) Creates a new tag in the project repository
GitLabRepositoryDownloadFileAsync(ProjectConnection, string, string, FilePath) Downloads a file from a GitLab-hosted repository
GitLabRepositoryDownloadFileAsync(ProjectIdentity, string, string, string, FilePath) Downloads a file from a GitLab-hosted repository
GitLabRepositoryDownloadFileAsync(ServerConnection, ProjectId, string, string, FilePath) Downloads a file from a GitLab-hosted repository
GitLabRepositoryDownloadFileAsync(ServerIdentity, string, ProjectId, string, string, FilePath) Downloads a file from a GitLab-hosted repository
GitLabRepositoryDownloadFileAsync(string, string, ProjectId, string, string, FilePath) Downloads a file from a GitLab-hosted repository
GitLabRepositoryGetBranchesAsync(ProjectConnection) Lists all of a project's branches
GitLabRepositoryGetBranchesAsync(ProjectIdentity, string) Lists all of a project's branches
GitLabRepositoryGetBranchesAsync(ServerConnection, ProjectId) Lists all of a project's branches
GitLabRepositoryGetBranchesAsync(ServerIdentity, string, ProjectId) Lists all of a project's branches
GitLabRepositoryGetBranchesAsync(string, string, ProjectId) Lists all of a project's branches