Summary
Gets Bitrise pull request information.
- Namespace
- Cake
.Common .Build .Bitrise .Data - Containing Type
- Bitrise
Environment Info
Syntax
public BitrisePullRequestInfo PullRequest { get; }
Examples
if (BuildSystem.Bitrise.IsRunningOnBitrise)
{
Information(
@"PullRequest:
IsPullRequest: {0}
Id: {1}",
BuildSystem.Bitrise.Environment.PullRequest.IsPullRequest,
BuildSystem.Bitrise.Environment.PullRequest.Id
);
}
else
{
Information("Not running on Bitrise");
}
if (Bitrise.IsRunningOnBitrise)
{
Information(
@"PullRequest:
IsPullRequest: {0}
Id: {1}",
Bitrise.Environment.PullRequest.IsPullRequest,
Bitrise.Environment.PullRequest.Id
);
}
else
{
Information("Not running on Bitrise");
}
Value
Type | Description |
---|---|
Bitrise |
The Bitrise pull request information. |