BuildSystemAliases.

ContinuaCI(ICakeContext) Method

Summary

Gets a ContinuaCIProvider instance that can be used to manipulate the Continua CI environment.
Namespace
Cake.Common.Build
Containing Type
BuildSystemAliases

Syntax

[CakePropertyAlias(Cache = true)]
[CakeNamespaceImport("Cake.Common.Build.ContinuaCI")]
[CakeNamespaceImport("Cake.Common.Build.ContinuaCI.Data")]
public static IContinuaCIProvider ContinuaCI(this ICakeContext context)

Examples

var isContinuaCIBuild = ContinuaCI.IsRunningContinuaCI;

Attributes

Type Description
CakePropertyAliasAttribute An attribute used to mark script property aliases.
CakeNamespaceImportAttribute An attribute used to hint Cake about additional namespaces that need to be imported for an alias to work. This attribute can mark an extension method, the extension method class, or the assembly to provide a global set of imports.
CakeNamespaceImportAttribute An attribute used to hint Cake about additional namespaces that need to be imported for an alias to work. This attribute can mark an extension method, the extension method class, or the assembly to provide a global set of imports.

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
IContinuaCIProvider A Cake.Common.Build.ContinuaCI instance.