AppVeyorEnvironmentInfo.

JobName Property

Summary

Gets the AppVeyor Job Name.

Syntax

public string JobName { get; }

Examples

if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
    Information(
        @"Job Name:{0},
        BuildSystem.AppVeyor.Environment.JobName
        );
}
else
{
    Information("Not running on AppVeyor");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
    Information(
        @"Job Name:{0},
        AppVeyor.Environment.JobName
        );
}
else
{
    Information("Not running on AppVeyor");
}

Value

Type Description
string The AppVeyor Job Name.