Skip to content

Commit 1d4c588

Browse files
committed
Change how we create the resource group name to allow for running multiple vms with the same version.
1 parent 3906cfb commit 1d4c588

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CI/Azure-DevOps/AZ_MainPipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ stages:
7777
${{ each version in parameters.VMMatrix }}:
7878
${{ format('{0}', version.name) }}:
7979
SQLVersionEdition: ${{ version.SQLVersionEdition }}
80+
SQLVersionName: ${{ version.name }}
8081

8182
steps:
8283
- checkout: self
@@ -99,7 +100,7 @@ stages:
99100
Set-Location "$(Pipeline.Workspace)/$(TSQLT_REPO_DIR)"
100101
.("Build/CommonFunctionsAndMethods.ps1")
101102
102-
$ResourceGroupName = ("$(NamePreFix)" + (Get-Date).tostring('yyyyMMdd') + "_" + "$(SQLVersionEdition)" + "_" + "$(Build.BuildId)");
103+
$ResourceGroupName = ("$(NamePreFix)" + (Get-Date).tostring('yyyyMMdd') + "_" + "$(SQLVersionName)" + "_" + "$(Build.BuildId)");
103104
Log-Output "ResourceGroupName: $ResourceGroupName";
104105
Write-Host "##vso[task.setvariable variable=ResourceGroupName;isOutput=true]$ResourceGroupName";
105106

0 commit comments

Comments
 (0)