Summary
Gets a value indicating whether the current build was started by a pull request.
- Namespace
- Cake
.Common .Build .TeamCity .Data - Containing Type
- Team
City Pull Request Info
Syntax
public bool IsPullRequest { get; }
Remarks
env.Git_Branch
is a required parameter in TeamCity for this to work.
Value
Type | Description |
---|---|
bool |
true if the current build was started by a pull request; otherwise, false .
|