Summary
Gets a value indicating whether the build runs by scheduler.
- Namespace
- Cake
.Common .Build .AppVeyor .Data - Containing Type
- App
Veyor Environment Info
Syntax
public bool ScheduledBuild { get; }
Examples
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
Information(
@"Scheduled Build:{0},
BuildSystem.AppVeyor.Environment.ScheduledBuild
);
}
else
{
Information("Not running on AppVeyor");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
Information(
@"Scheduled Build:{0},
AppVeyor.Environment.ScheduledBuild
);
}
else
{
Information("Not running on AppVeyor");
}
Value
Type | Description |
---|---|
bool |
true if the build runs by scheduler; otherwise, false .
|