Sync eng/common directory with azure-sdk-tools for PR 7310 (#5173)
* Force capitalize all deployment/env outputs in live test * Update eng/common/TestResources/New-TestResources.ps1 Co-authored-by: Heath Stewart <heaths@outlook.com> --------- Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com> Co-authored-by: Heath Stewart <heaths@outlook.com>
This commit is contained in:
parent
1b2e58f743
commit
eccfeb4be0
@ -290,7 +290,14 @@ function BuildDeploymentOutputs([string]$serviceName, [object]$azContext, [objec
|
||||
}
|
||||
}
|
||||
|
||||
return $deploymentOutputs
|
||||
# Force capitalization of all keys to avoid Azure Pipelines confusion with
|
||||
# variable auto-capitalization and OS env var capitalization differences
|
||||
$capitalized = @{}
|
||||
foreach ($item in $deploymentOutputs.GetEnumerator()) {
|
||||
$capitalized[$item.Name.ToUpperInvariant()] = $item.Value
|
||||
}
|
||||
|
||||
return $capitalized
|
||||
}
|
||||
|
||||
function SetDeploymentOutputs(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user