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
Constructs the settings object using the access token provided by Azure Pipelines.
- Assembly
- Cake
.AzureDevOps .dll - Namespace
- Cake
.AzureDevOps .Repos .PullRequest - Containing Type
- Azure
Dev Ops Pull Request Settings
Syntax
public static AzureDevOpsPullRequestSettings UsingAzurePipelinesOAuthToken(bool throwExceptionIfVariablesDontExist)
Parameters
Name | Type | Description |
---|---|---|
throwExceptionIfVariablesDontExist | bool | Value indicating whether an exception should be thrown if required environment variables could not be found. |
Return Value
Type | Description |
---|---|
Azure |
The instance of AzureDevOpsPullRequestSettings class.
Returns null if variables don't exist and
throwExceptionIfVariablesDontExist is set to false . |