From 63d575d17973d09b46cbc503db376a171fc0871b Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 13 Mar 2025 15:59:19 -0700 Subject: [PATCH] Ensure that direct batches have an underscore before the batchnumber (#6464) Co-authored-by: Scott Beddall --- eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 b/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 index d93872328..1ace02ce2 100644 --- a/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 +++ b/eng/common/scripts/job-matrix/Create-PrJobMatrix.ps1 @@ -180,7 +180,7 @@ function GeneratePRMatrixForBatch { } if ($batchSuffixNecessary) { - $outputItem["name"] = $outputItem["name"] + "$batchNamePrefix$batchCounter" + $outputItem["name"] = $outputItem["name"] + "_$batchNamePrefix$batchCounter" } $OverallResult += $outputItem @@ -205,7 +205,7 @@ function GeneratePRMatrixForBatch { } if ($batchSuffixNecessary) { - $outputItem["name"] = $outputItem["name"] + "_$batchNamePrefix$batchCounter" + $outputItem["name"] = $outputItem["name"] + "_$batchNamePrefix$batchCounter" } # 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 # we will add the cloned version to OverallResult