File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888
8989 variables :
9090 # Bring the generated SA password from the secrets stage into scope for this test stage.
91+ # Note: Because this is set at runtime, it must be referenced as `$(saPassword)`.
9192 - name : saPassword
9293 value : $[stageDependencies.${{ parameters.stageNameSecrets }}.secrets_job.outputs['SaPassword.Value']]
9394
@@ -102,12 +103,12 @@ jobs:
102103 parameters :
103104 fileStreamDirectory : ${{ parameters.fileStreamDirectory }}
104105 operatingSystem : ${{ parameters.platformOperatingSystem }}
105- saPassword : ${{ variables. saPassword }}
106+ saPassword : $( saPassword)
106107
107108 # Assign the generated SA password to the $Password field. This will allow $(Password) to be
108- # be replaced in connection strings with whatever was passed in as ${{ saPassword }} .
109+ # be replaced in connection strings with whatever set in the secrets stage .
109110 - pwsh : |
110- $password = "${{ variables.saPassword }} "
111+ $password = "$( variables.saPassword) "
111112 Write-Host "##vso[task.setvariable variable=Password;isSecret=true]$password"
112113 displayName: Set Connection String Password
113114
You can’t perform that action at this time.
0 commit comments