Summary
Gets a value indicating whether the current build is running on WoodpeckerCI.
- Namespace
- Cake
.Common .Build .WoodpeckerCI - Containing Type
- I
Woodpecker C I Provider
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.
|
