BuildSystem Class

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.
Bamboo IBambooProvider
Gets the Bamboo Provider.
BitbucketPipelines IBitbucketPipelinesProvider
Gets the Bitbucket Pipelines Provider.
Bitrise IBitriseProvider
Gets the Bitrise Provider.
ContinuaCI IContinuaCIProvider
Gets the Continua CI 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.
IsRunningOnAzurePipelines bool
Gets a value indicating whether this instance is running on Azure Pipelines.
IsRunningOnAzurePipelinesHosted bool
Gets a value indicating whether this instance is running on hosted Azure Pipelines.
IsRunningOnBamboo bool
Gets a value indicating whether the current build is running on Bamboo.
IsRunningOnBitbucketPipelines 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.
IsRunningOnContinuaCI bool
Gets a value indicating whether the current build is running on Continua CI.
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.
IsRunningOnTFS bool
Gets a value indicating whether this instance is running on TFS.
IsRunningOnTravisCI bool
Gets a value indicating whether this instance is running on Travis CI.
IsRunningOnVSTS bool
Gets a value indicating whether this instance is running on VSTS.
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.
TFBuild ITFBuildProvider
Gets the TF Build Provider.
TravisCI ITravisCIProvider
Gets the Travis CI provider.

Extension Methods

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