File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
eng/common/scripts/Helpers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,8 +223,8 @@ function Remove-WormStorageAccounts() {
223223 # DO NOT REMOVE THIS
224224 # We call this script from live test pipelines as well, and a string mismatch/error could blow away
225225 # some static storage accounts we rely on
226- if (! $groupPrefix -or ($CI -and ! $GroupPrefix.StartsWith (' rg-' ))) {
227- throw " The -GroupPrefix parameter must not be empty, or must start with 'rg-' in CI contexts"
226+ if (! $groupPrefix -or ($CI -and ( ! $GroupPrefix.StartsWith (' rg-' ) -and ! $GroupPrefix .StartsWith ( ' SSS3PT_rg- ' ) ))) {
227+ throw " The -GroupPrefix parameter must not be empty, or must start with 'rg-' or 'SSS3PT_rg-' in CI contexts"
228228 }
229229
230230 $groups = Get-AzResourceGroup | Where-Object { $_.ResourceGroupName.StartsWith ($GroupPrefix ) } | Where-Object { $_.ProvisioningState -ne ' Deleting' }
You can’t perform that action at this time.
0 commit comments