Skip to content

Commit be547b6

Browse files
committed
fixes
1 parent bbf5753 commit be547b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/devops/automation/scripts/TestResults.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ function New-ParallelTestsResults {
530530
$botKey = $outputs.Keys | Where-Object { $_.StartsWith($jobName + ".") -and $_.EndsWith("." + "TESTS_BOT") }
531531
$platformKey = $outputs.Keys | Where-Object { $_.StartsWith($jobName + ".") -and $_.EndsWith("." + "TESTS_PLATFORM") }
532532
$attemptKey = $outputs.Keys | Where-Object { $_.StartsWith($jobName + ".") -and $_.EndsWith("." + "TESTS_ATTEMPT") }
533-
$title = $outputs.Keys | Where-Object { $_.StartsWith($jobName + ".") -and $_.EndsWith("." + "LABEL_WITH_PLATFORM") }
533+
$title = $outputs.Keys | Where-Object { $_.StartsWith($jobName + ".") -and $_.EndsWith("." + "TESTS_TITLE") }
534534
Write-Host "Keys for Label='$label', Title='$title' and JobName='$jobName': StatusKey=$statusKey BotKey=$botKey PlatformKey=$platformKey AttemptKey=$attemptKey"
535535
$status = if ($statusKey -eq $null) { "NotFound"} else { $outputs[$statusKey] }
536536
$bot = if ($botKey -eq $null) { "NotFound" } else { $outputs[$botKey] }

tools/devops/automation/scripts/initialize-test-output-variables.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Write-Host "##vso[task.setvariable variable=TESTS_BOT;isOutput=true]$($Env:AGENT
44
Write-Host "##vso[task.setvariable variable=TESTS_LABEL;isOutput=true]$($Env:TESTS_LABEL)"
55
Write-Host "##vso[task.setvariable variable=TESTS_PLATFORM;isOutput=true]$($Env:TESTS_PLATFORM)"
66
Write-Host "##vso[task.setvariable variable=TESTS_ATTEMPT;isOutput=true]$($Env:SYSTEM_JOBATTEMPT)"
7-
Write-Host "##vso[task.setvariable variable=LABEL_WITH_PLATFORM;isOutput=true]$($Env:LABEL_WITH_PLATFORM)"
7+
Write-Host "##vso[task.setvariable variable=TESTS_TITLE;isOutput=true]$($Env:LABEL_WITH_PLATFORM)"

0 commit comments

Comments
 (0)