BuildSystem.

IsRunningOnBamboo Property

Summary

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

Syntax

public bool IsRunningOnBamboo { get; }

Examples

if (BuildSystem.IsRunningOnBamboo)
{
    // Get the build number.
    var buildNumber = BuildSystem.Bamboo.Number;
}

Value

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