This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AzureDevOps.
Summary
Gets the commit at the head of the target branch at the time of the last pull request merge.
Returns
System.String.Empty
if no pull request could be found and
ThrowExceptionIfPullRequestCouldNotBeFound
is set to false
.
- Assembly
- Cake
.AzureDevOps .dll - Namespace
- Cake
.AzureDevOps .Repos .PullRequest - Containing Type
- Azure
Dev Ops Pull Request
Syntax
public string LastTargetCommitId { get; }
Value
Type | Description |
---|---|
string |