AppVeyorEnvironmentInfo.

ScheduledBuild Property

Summary

Gets a value indicating whether the build runs by scheduler.

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.