GitLabCIProvider Class

Summary

Responsible for communicating with GitLab CI.
Namespace
Cake.Common.Build.GitLabCI
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IGitLabCIProvider"] click Interface0 "/api/Cake.Common.Build.GitLabCI/IGitLabCIProvider" Type["GitLabCIProvider"] class Type type-node

Syntax

public class GitLabCIProvider : IGitLabCIProvider

Constructors

Name Summary
GitLabCIProvider(ICakeEnvironment) Initializes a new instance of the GitLabCIProvider class.

Properties

Name Value Summary
Environment GitLabCIEnvironmentInfo
Gets the GitLab CI environment.
IsRunningOnGitLabCI bool
Gets a value indicating whether the current build is running on GitLab CI.

Extension Methods

Name Value Summary
Dump<GitLabCIProvider>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitLabCIProvider>(GitLabCIProvider[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitLabCIProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitLabCIProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GitLabCIProvider>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GitLabCIProvider>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin