ContinuaCIEnvironmentInfo.

Version Property

Summary

Gets Continua CI product version.

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.