Summary
Provides functionality for interacting with
different build systems.
- Namespace
- Cake
.Common .Build - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["BuildSystem"]
class Type type-node
Syntax
public sealed class BuildSystem
Constructors
Properties
Name | Value | Summary |
---|---|---|
AppVeyor | IAppVeyorProvider |
Gets the AppVeyor Provider.
|
AzurePipelines | I |
Gets the Azure Pipelines Provider.
|
Bamboo | IBambooProvider |
Gets the Bamboo Provider.
|
BitbucketPipelines | I |
Gets the Bitbucket Pipelines Provider.
|
Bitrise | IBitriseProvider |
Gets the Bitrise Provider.
|
ContinuaCI | IContinuaCIProvider |
Gets the Continua CI Provider.
|
GitHubActions | I |
Gets the GitHub Actions Provider.
|
GitLabCI | IGitLabCIProvider |
Gets the GitLab CI Provider.
|
GoCD | IGoCDProvider |
Gets the Go.CD Provider.
|
IsLocalBuild | bool |
Gets a value indicating whether the current build is local build.
|
IsPullRequest | bool |
Gets a value indicating whether the current build was started by a pull request.
|
IsRunningOnAppVeyor | bool |
Gets a value indicating whether the current build is running on AppVeyor.
|
Is |
bool |
Gets a value indicating whether this instance is running on Azure Pipelines.
|
IsRunningOnBamboo | bool |
Gets a value indicating whether the current build is running on Bamboo.
|
Is |
bool |
Gets a value indicating whether this instance is running on Bitbucket Pipelines.
|
IsRunningOnBitrise | bool |
Gets a value indicating whether this instance is running on Bitrise.
|
Is |
bool |
Gets a value indicating whether the current build is running on Continua CI.
|
Is |
bool |
Gets a value indicating whether this instance is running on GitHub Actions.
|
IsRunningOnGitLabCI | bool |
Gets a value indicating whether this instance is running on GitLab CI.
|
IsRunningOnGoCD | bool |
Gets a value indicating whether the current build is running on Go.CD.
|
IsRunningOnJenkins | bool |
Gets a value indicating whether this instance is running on Jenkins.
|
IsRunningOnMyGet | bool |
Gets a value indicating whether the current build is running on MyGet.
|
IsRunningOnTeamCity | bool |
Gets a value indicating whether the current build is running on TeamCity.
|
IsRunningOnTravisCI | bool |
Gets a value indicating whether this instance is running on Travis CI.
|
Jenkins | IJenkinsProvider |
Gets the Jenkins Provider.
|
MyGet | IMyGetProvider |
Gets the MyGet Provider.
|
Provider | BuildProvider |
Gets the current build provider.
|
TeamCity | ITeamCityProvider |
Gets the TeamCity Provider.
|
TravisCI | ITravisCIProvider |
Gets the Travis CI provider.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|