BuildSystem.

IsRunningOnWoodpeckerCI Property

Summary

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

Syntax

public bool IsRunningOnWoodpeckerCI { get; }

Examples

if (BuildSystem.IsRunningOnWoodpeckerCI)
{
    // Get the commit SHA.
    var commitSha = BuildSystem.WoodpeckerCI.Environment.Commit.Sha;
}

Value

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