Skip to content

Commit 6b747ae

Browse files
azure-sdkscbedd
andauthored
Ensure that direct batches have an underscore before the batchnumber (#40060)
Co-authored-by: Scott Beddall <[email protected]>
1 parent e816b75 commit 6b747ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function GeneratePRMatrixForBatch {
180180
}
181181

182182
if ($batchSuffixNecessary) {
183-
$outputItem["name"] = $outputItem["name"] + "$batchNamePrefix$batchCounter"
183+
$outputItem["name"] = $outputItem["name"] + "_$batchNamePrefix$batchCounter"
184184
}
185185

186186
$OverallResult += $outputItem
@@ -205,7 +205,7 @@ function GeneratePRMatrixForBatch {
205205
}
206206

207207
if ($batchSuffixNecessary) {
208-
$outputItem["name"] = $outputItem["name"] + "_$batchNamePrefix$batchCounter"
208+
$outputItem["name"] = $outputItem["name"] + "_$batchNamePrefix$batchCounter"
209209
}
210210
# now we need to take an item from the front of the matrix results, clone it, and add it to the back of the matrix results
211211
# we will add the cloned version to OverallResult

0 commit comments

Comments
 (0)