Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eng/templates/stages/deploy.yaml
Original file line number Diff line number Diff line change
@@ -148,15 +148,15 @@ stages:
value: https://maestro-prod.westus2.cloudapp.azure.com,https://maestro.dot.net
- name: ScenarioTestSubscription
value: "Darc: Maestro Production"
- name: MaestroAppClientId
- name: MaestroAppId
value: $(MaestroAppClientId)
- ${{ else }}:
- group: MaestroInt KeyVault
- name: MaestroTestEndpoints
value: https://maestro-int.westus2.cloudapp.azure.com,https://maestro.int-dot.net
- name: ScenarioTestSubscription
value: "Darc: Maestro Staging"
- name: MaestroAppClientId
- name: MaestroAppId
value: $(MaestroStagingAppClientId)

jobs:
@@ -201,7 +201,7 @@ stages:
scriptLocation: inlineScript
inlineScript: |
# Fetch token used for scenario tests
$token = (az account get-access-token --resource "${{ variables.MaestroAppClientId }}" | ConvertFrom-Json).accessToken
$token = (az account get-access-token --resource "${{ variables.MaestroAppId }}" | ConvertFrom-Json).accessToken
echo "##vso[task.setvariable variable=Token;isOutput=true;isSecret=true]$token"
# Set variables with auth info for tests below

0 comments on commit 06bd7a1

Please sign in to comment.