GoCDProvider.

IsRunningOnGoCD Property

Summary

Gets a value indicating whether the current build is running on Go.CD.
Namespace
Cake.Common.Build.GoCD
Containing Type
GoCDProvider

Syntax

public bool IsRunningOnGoCD { get; }

Examples

if (BuildSystem.GoCD.IsRunningOnGoCD)
{
    Information("Running on Go.CD");
}
else
{
    Information("Not running on Go.CD");
}

Value

Type Description
bool true if the current build is running on Go.CD; otherwise, false.