ContinuaCIEnvironmentInfo.

Project Property

Summary

Gets Continua CI project information.

Syntax

public ContinuaCIProjectInfo Project { get; }

Examples

if (BuildSystem.ContinuaCI.IsRunningOnContinuaCI)
{
    Information(
        @"Project:
        Name: {0}",
        BuildSystem.ContinuaCI.Environment.Project.Name
        );
}
else
{
    Information("Not running on ContinuaCI");
}
if (ContinuaCI.IsRunningOnContinuaCI)
{
    Information(
        @"Project:
        Name: {0}",
        ContinuaCI.Environment.Project.Name
        );
}
else
{
    Information("Not running on ContinuaCI");
}

Value

Type Description
ContinuaCIProjectInfo The Continua CI project information.