BuildSystem.

IsRunningOnContinuaCI Property

Summary

Gets a value indicating whether the current build is running on Continua CI.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public bool IsRunningOnContinuaCI { get; }

Examples

if (BuildSystem.IsRunningOnContinuaCI)
{
    // Get the build version.
    var buildVersion = BuildSystem.ContinuaCI.Environment.Build.Version;
}

Value

Type Description
bool true if the build currently is running on Continua CI; otherwise, false.