Summary
Gets the AppVeyor build agent API URL.
- Namespace
- Cake
.Common .Build .AppVeyor .Data - Containing Type
- App
Veyor Environment Info
Syntax
public string ApiUrl { get; }
Examples
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
Information(
@"API URL:{0},
BuildSystem.AppVeyor.Environment.ApiUrl
);
}
else
{
Information("Not running on AppVeyor");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
Information(
@"API URL:{0},
AppVeyor.Environment.ApiUrl
);
}
else
{
Information("Not running on AppVeyor");
}
Value
Type | Description |
---|---|
string | The AppVeyor build agent API URL. |