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 <scbedd@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-03-25 15:19:52 -07:00 committed by GitHub
parent ef40989507
commit 396acfc466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {