Summary
Gets a value indicating whether the current build is running on Continua CI.
- Namespace
- Cake
.Common .Build .ContinuaCI - Containing Type
- ContinuaCIProvider
Syntax
public bool IsRunningOnContinuaCI { get; }
Examples
if (BuildSystem.ContinuaCI.IsRunningOnContinuaCI)
{
Information("Running on Continua CI");
}
else
{
Information("Not running on Continua CI");
}
Value
| Type | Description |
|---|---|
| bool |
true if the current build is running on Continua CI; otherwise, false.
|
