Skip to content

Commit ea9d74d

Browse files
scbeddazure-sdk
authored andcommitted
in the case where it's all the same matrix (so no batches), not adding a suffix for the indirect batch causes duplicate config names, so the indirect batch is ignored entirely
1 parent 30a3364 commit ea9d74d

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
@@ -167,7 +167,7 @@ function GeneratePRMatrixForBatch {
167167
# we instead will walk each each matrix, create a parameter named for the PRMatrixSetting, and add the targeted packages
168168
# as an array. This will generate a _sparse_ matrix for for whatever the incoming packages are
169169
else {
170-
$batchSuffixNecessary = $packageBatches.Length -gt 1
170+
$batchSuffixNecessary = $packageBatches.Length -gt 0
171171
$batchCounter = 1
172172
foreach ($batch in $packageBatches) {
173173
$namesForBatch = ($batch | ForEach-Object { $_.ArtifactName }) -join ","

0 commit comments

Comments
 (0)