AzurePipelinesPullRequestInfo.

SourceCommitId Property

Summary

Gets the commit that is being reviewed in a pull request.

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