Skip to content

Commit 3a0d083

Browse files
azure-sdkscbedd
andauthored
Sync eng/common directory with azure-sdk-tools for PR 10129 (Azure#44793)
* 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 <[email protected]>
1 parent 4f28475 commit 3a0d083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function GeneratePRMatrixForBatch {
144144
}
145145
}
146146

147-
if ($matrixConfig.PSObject.Properties['PRBatching']) {
147+
if ($matrixConfig.PSObject.Properties['PRBatching'] -and $matrixResults) {
148148
# if we are doing a PR Batch, we need to just add the matrix items directly to the OverallResult
149149
# as the users have explicitly disabled PR batching for this matrix.
150150
if (!$matrixConfig.PRBatching) {

0 commit comments

Comments
 (0)