AppVeyorEnvironmentInfo.

PullRequest Property

Summary

Gets AppVeyor pull request information.

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
AppVeyorPullRequestInfo The AppVeyor pull request information.