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 commits contained in the pull request.
- Assembly
- Cake
.AzureDevOps .dll - Namespace
- Cake
.AzureDevOps .Repos .PullRequest - Containing Type
- Azure
Dev Ops Pull Request
Syntax
public IEnumerable<AzureDevOpsCommit> GetCommits()
Return Value
Type | Description |
---|---|
IEnumerable |
The commits contained in the pull request or an empty list if no pull request could be found and
ThrowExceptionIfPullRequestCouldNotBeFound is set to false . |