We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f72a0b commit 1f12be2Copy full SHA for 1f12be2
Tasks/RunJMeterLoadTest/Start-ApacheJMeterTest.ps1
@@ -270,14 +270,10 @@ function UploadSummaryMdReport($summaryMdPath)
270
{
271
Write-Verbose "Summary Markdown Path = $summaryMdPath"
272
273
- if (Test-Path($summaryMdPath))
+ if (($env:SYSTEM_HOSTTYPE -eq "build") -and (Test-Path($summaryMdPath)))
274
275
Write-Host "##vso[task.addattachment type=Distributedtask.Core.Summary;name=Load test results;]$summaryMdPath"
276
}
277
- else
278
- {
279
- Write-Warning "Could not find the summary report file $summaryMdPath"
280
- }
281
282
283
function GetLastSuccessfulBuild($headers)
0 commit comments