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.Issues.BuildServer.
Summary
Reports issues to build server.
- Assembly
- Cake
.Issues .BuildServer .dll - Namespace
- Cake
.Issues .BuildServer - Containing Type
- Aliases
Syntax
public static BuildServerIssueResult ReportIssuesToBuildServer(this ICakeContext context, IEnumerable<IIssueProvider> issueProviders, IBuildServer buildServer, DirectoryPath repositoryRoot)
Examples
Report issues reported as MsBuild warnings to a build server:
ReportIssuesToBuildServer(
new List<IIssueProvider>
{
MsBuildIssuesFromFilePath(
@"C:\build\msbuild.log",
MsBuildXmlFileLoggerFormat),
InspectCodeFromFilePath(
@"C:\build\inspectcode.log")
},
AppVeyorBuilds(),
@"C:\repo");
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| issueProviders | IEnumerable |
The list of provider for issues. |
| buildServer | IBuildServer | The build server implementation. |
| repositoryRoot | DirectoryPath | Root path of the repository. |
Return Value
| Type | Description |
|---|---|
| Build |
Information about the reported and written issues. |
