Summary
Constructs the settings object using the access token provided by Azure Pipelines.
- 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 . |