Summary
Gets a value indicating whether the current build is running on AppVeyor.
- Namespace
- Cake
.Common .Build .AppVeyor - Containing Type
- IAppVeyorProvider
Syntax
bool IsRunningOnAppVeyor { get; }
Examples
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
Information("Running on AppVeyor");
}
else
{
Information("Not running on AppVeyor");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
Information("Running on AppVeyor");
}
else
{
Information("Not running on AppVeyor");
}
Value
Type | Description |
---|---|
bool |
true if the current build is running on AppVeyor.; otherwise, false .
|