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