Summary
Gets Continua CI configuration information.
- Namespace
- Cake
.Common .Build .ContinuaCI .Data - Containing Type
- Continua
C I Environment Info
Syntax
public ContinuaCIConfigurationInfo Configuration { get; }
Examples
if (BuildSystem.ContinuaCI.IsRunningOnContinuaCI)
{
Information(
@"Configuration:
Name: {0}",
BuildSystem.ContinuaCI.Environment.Configuration.Name
);
}
else
{
Information("Not running on ContinuaCI");
}
if (ContinuaCI.IsRunningOnContinuaCI)
{
Information(
@"Configuration:
Name: {0}",
ContinuaCI.Environment.Configuration.Name
);
}
else
{
Information("Not running on ContinuaCI");
}
Value
Type | Description |
---|---|
Continua |
The Continua CI configuration information. |