Skip to content

Commit

Permalink
(GH-233) Use project root directory for creating summary issue report (
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger authored Aug 19, 2021
1 parent e1c5024 commit 95e12db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public override void CreateSummaryIssuesReport(
context.CreateIssueReport(
context.State.Issues,
context.GenericIssueReportFormatFromContent(sr.ReadToEnd()),
context.State.BuildRootDirectory,
context.State.ProjectRootDirectory,
summaryFilePath);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class AzureDevOpsBuildServer : BaseBuildServer
data.Issues,
context.GenericIssueReportFormatFromFilePath(
new FilePath(sourceFilePath).GetDirectory().Combine("tasks").Combine("buildservers").CombineWithFilePath("AzurePipelineSummary.cshtml")),
data.BuildRootDirectory,
data.ProjectRootDirectory,
summaryFilePath);

context.AzurePipelines().Commands.UploadTaskSummary(summaryFilePath);
Expand Down

0 comments on commit 95e12db

Please sign in to comment.