AppVeyorEnvironmentInfo.

JobId Property

Summary

Gets the AppVeyor unique job ID.

Syntax

public string JobId { get; }

Examples

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

Value

Type Description
string The AppVeyor unique job ID.