File tree Expand file tree Collapse file tree
eng/pipelines/templates/stages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -496,11 +496,11 @@ stages:
496496 -PRLabels 'Do Not Merge'
497497
498498 - pwsh : |
499- $markdownSummary = @"
499+ $summaryPath = "$(System.DefaultWorkingDirectory)/summary.md"
500+ $summaryMarkdown = @"
500501 **PR:** [Azure/$(sdkRepositoryName)#$(Submitted.PullRequest.Number)](https://github.com/Azure/$(sdkRepositoryName)/pull/$(Submitted.PullRequest.Number))
501502 **Title:** $(PullRequestTitle)
502503 "@
503-
504- $markdownSummary | Out-File "$(System.DefaultWorkingDirectory)/summary.md"
505- Write-Host "##vso[task.addattachment type=Distributedtask.Core.Summary;name=Pull Request Created;)/summary.md"
504+ $summaryMarkdown | Out-File $summaryPath
505+ Write-Host "##vso[task.addattachment type=Distributedtask.Core.Summary;name=Pull Request Created;]$summaryPath"
506506 displayName: Write PR Data to build summary
You can’t perform that action at this time.
0 commit comments