BuildSystem.

WoodpeckerCI Property

Summary

Gets the WoodpeckerCI Provider.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public IWoodpeckerCIProvider WoodpeckerCI { get; }

Examples

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

Value

Type Description
IWoodpeckerCIProvider