GitLabCIServerInfo Class

Summary

Provides GitLab CI server information for a current build.
Namespace
Cake.Common.Build.GitLabCI.Data
Base Types
graph BT Type-->Base0["GitLabCIInfo"] click Base0 "/api/Cake.Common.Build.GitLabCI/GitLabCIInfo" Base0-->Base1["object"] Type["GitLabCIServerInfo"] class Type type-node

Syntax

public sealed class GitLabCIServerInfo : GitLabCIInfo

Constructors

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

Properties

Name Value Summary
Name string
Gets the name of CI server that is used to coordinate builds.
Revision string
Gets the GitLab revision that is used to schedule builds.
Version string
Gets the GitLab version that is used to schedule builds.

Methods

Name Value Summary
GetEnvironmentBoolean(string, string) bool
Gets an environment variable as a bool.
Inherited from GitLabCIInfo
GetEnvironmentBoolean(string) bool
Gets an environment variable as a bool.
Inherited from GitLabCIInfo
GetEnvironmentInteger(string, string) int
Gets an environment variable as a int.
Inherited from GitLabCIInfo
GetEnvironmentInteger(string) int
Gets an environment variable as a int.
Inherited from GitLabCIInfo
GetEnvironmentString(string, string) string
Gets an environment variable as a string.
Inherited from GitLabCIInfo
GetEnvironmentString(string) string
Gets an environment variable as a string.
Inherited from GitLabCIInfo

Extension Methods

Name Value Summary
Dump<GitLabCIServerInfo>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitLabCIServerInfo>(GitLabCIServerInfo[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitLabCIServerInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitLabCIServerInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GitLabCIServerInfo>(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
ThrowIfNull<GitLabCIServerInfo>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin