BuildSystem.

IsRunningOnBitrise Property

Summary

Gets a value indicating whether this instance is running on Bitrise.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public bool IsRunningOnBitrise { get; }

Examples

if (BuildSystem.IsRunningOnBitrise)
{
    // Get the build number.
    var buildNumber = BuildSystem.Bitrise.Environment.Build.BuildNumber;
}

Value

Type Description
bool true if this instance is running on bitrise; otherwise, false.