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