Summary
Gets AppVeyor pull request information.
- Namespace
- Cake
.Common .Build .AppVeyor .Data - Containing Type
- App
Veyor Environment Info
Syntax
public AppVeyorPullRequestInfo PullRequest { get; }
Examples
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
Information(
@"PullRequest:
IsPullRequest: {0}
Number: {1}
Title: {2}",
BuildSystem.AppVeyor.Environment.PullRequest.IsPullRequest,
BuildSystem.AppVeyor.Environment.PullRequest.Number,
BuildSystem.AppVeyor.Environment.PullRequest.Title
);
}
else
{
Information("Not running on AppVeyor");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
Information(
@"PullRequest:
IsPullRequest: {0}
Number: {1}
Title: {2}",
AppVeyor.Environment.PullRequest.IsPullRequest,
AppVeyor.Environment.PullRequest.Number,
AppVeyor.Environment.PullRequest.Title
);
}
else
{
Information("Not running on AppVeyor");
}
Value
Type | Description |
---|---|
App |
The AppVeyor pull request information. |