Aliases.

ReportIssuesToPullRequest(ICakeContext, IIssueProvider, IPullRequestSystem, DirectoryPath) Method

Summary

Reports issues to pull requests.

Syntax

public static PullRequestIssueResult ReportIssuesToPullRequest(this ICakeContext context, IIssueProvider issueProvider, IPullRequestSystem pullRequestSystem, DirectoryPath repositoryRoot)

Examples

Report issues reported as MsBuild warnings to a TFS pull request:

ReportIssuesToPullRequest(
        MsBuildIssuesFromFilePath(
            @"C:\build\msbuild.log",
            MsBuildXmlFileLoggerFormat),
        TfsPullRequests(
            new Uri("http://myserver:8080/tfs/defaultcollection/myproject/_git/myrepository"),
            "refs/heads/feature/myfeature",
            TfsAuthenticationNtlm()),
        @"C:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issueProvider IIssueProvider The provider for issues.
pullRequestSystem IPullRequestSystem The pull request system.
repositoryRoot DirectoryPath Root path of the repository.

Return Value

Type Description
PullRequestIssueResult Information about the reported and written issues.
GitHub