ContinuaCIEnvironmentInfo.

Configuration Property

Summary

Gets Continua CI configuration information.

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
ContinuaCIConfigurationInfo The Continua CI configuration information.