Skip to content

Commit f350dda

Browse files
fixed the quick perf task
1 parent 9f13b9f commit f350dda

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Tasks/QuickPerfTest/Invoke-QuickPerfTest.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,10 @@ function UploadSummaryMdReport($summaryMdPath)
205205
{
206206
Write-Verbose "Summary Markdown Path = $summaryMdPath"
207207

208-
if (Test-Path($summaryMdPath))
208+
if (($env:SYSTEM_HOSTTYPE -eq "build") -and (Test-Path($summaryMdPath)))
209209
{
210210
Write-Host "##vso[task.addattachment type=Distributedtask.Core.Summary;name=Load test results;]$summaryMdPath"
211211
}
212-
else
213-
{
214-
Write-Warning "Could not find the summary report file $summaryMdPath"
215-
}
216212
}
217213

218214
function GetLastSuccessfulBuild($headers)

Tasks/QuickPerfTest/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 0,
16-
"Patch": 8
16+
"Patch": 9
1717
},
1818
"demands": [
1919
"msbuild",

0 commit comments

Comments
 (0)