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 Create Pull Request Settings
Syntax
public static AzureDevOpsCreatePullRequestSettings UsingAzurePipelinesOAuthToken(Uri repositoryUrl, string sourceRefName, string targetRefName, string title, string description)
Parameters
Name | Type | Description |
---|---|---|
repositoryUrl | Uri | Full URL of the Git repository,
eg. .
Supported URL schemes are HTTP, HTTPS and SSH.
URLs using SSH scheme are converted to HTTPS. |
sourceRefName | string | Branch for which the pull request is made. |
targetRefName | string | Target branch of the pull request.
If or System.String.Empty the default branch of the repository will be used. |
title | string | Title of the pull request. |
description | string | Description of the pull request. |
Return Value
Type | Description |
---|---|
Azure |
The instance of AzureDevOpsCreatePullRequestSettings class. |