Summary
Gets the ID of the pull request that caused this build.
This value is set only if the build ran because of a Git PR affected by a branch policy.
- Namespace
- Cake
.Common .Build .AzurePipelines .Data - Containing Type
- Azure
Pipelines Pull Request Info
Syntax
[Obsolete("Type will change in next major version to long, meanwhile use LongId to ensure proper value returned.")]
public int Id { get; }
Attributes
Type | Description |
---|---|
ObsoleteAttribute |
Value
Type | Description |
---|---|
int | The ID of the pull request that caused this build. |