IWoodpeckerCIProvider.

IsRunningOnWoodpeckerCI Property

Summary

Gets a value indicating whether the current build is running on WoodpeckerCI.

Syntax

bool IsRunningOnWoodpeckerCI { get; }

Examples

if (BuildSystem.WoodpeckerCI.IsRunningOnWoodpeckerCI)
{
    Information("Running on WoodpeckerCI");
}
else
{
    Information("Not running on WoodpeckerCI");
}
if (WoodpeckerCI.IsRunningOnWoodpeckerCI)
{
    Information("Running on WoodpeckerCI");
}
else
{
    Information("Not running on WoodpeckerCI");
}

Value

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