Summary
Gets an object for writing issues to Azure DevOps pull request where all required data (including authentication token)
is taken from the environment variables set by Azure Pipelines.
Syntax
public static IPullRequestSystem AzureDevOpsPullRequests(this ICakeContext context)
Examples
Report code analysis issues reported as MsBuild warnings to an Azure DevOps pull request:
ReportIssuesToPullRequest(
MsBuildCodeAnalysis(
@"c:\build\msbuild.log",
MsBuildXmlFileLoggerFormat),
AzureDevOpsPullRequests(),
@"c:\repo");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
Return Value
Type |
Description |
IPullRequestSystem |
Object for writing issues to Azure DevOps pull request. |