From 396acfc4660188a60519eeb0a1d73b94728b7cfc Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 25 Mar 2025 15:19:52 -0700 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 10129 (#6483) * identify and fix the issue with no results on a matrix that is PRBatched. The platform filters eliminate all the jobs, which is why it only turned up on the second windows leg --------- Co-authored-by: Scott Beddall --- eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 b/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 index 8918518fb..81bd1c360 100644 --- a/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 +++ b/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 @@ -144,7 +144,7 @@ function GeneratePRMatrixForBatch { } } - if ($matrixConfig.PSObject.Properties['PRBatching']) { + if ($matrixConfig.PSObject.Properties['PRBatching'] -and $matrixResults) { # if we are doing a PR Batch, we need to just add the matrix items directly to the OverallResult # as the users have explicitly disabled PR batching for this matrix. if (!$matrixConfig.PRBatching) {