Summary
Gets the branch that is being reviewed in a pull request.
- Namespace
- Cake
.Common .Build .AzurePipelines .Data - Containing Type
- Azure
Pipelines Pull Request Info
Syntax
public string SourceBranch { get; }
Remarks
This property is populated only if the build ran because of a Git PR affected by a branch policy.
Value
Type | Description |
---|---|
string |