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