Summary
Gets the AppVeyor unique job ID.
- Namespace
- Cake
.Common .Build .AppVeyor .Data - Containing Type
- App
Veyor Environment Info
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. |