BambooProvider.

IsRunningOnBamboo Property

Summary

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

Syntax

public bool IsRunningOnBamboo { get; }

Examples

if (BuildSystem.Bamboo.IsRunningOnBamboo)
{
    Information("Running on Bamboo");
}
else
{
    Information("Not running on Bamboo");
}

Value

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