File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
eng/pipelines/templates/steps Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ steps:
7575 pwsh : true
7676 ScriptType : InlineScript
7777 Inline : >-
78+ $account = (Get-AzContext).Account;
79+ $env:AZURESUBSCRIPTION_CLIENT_ID = $account.Id;
80+ $env:AZURESUBSCRIPTION_TENANT_ID = $account.Tenants;
81+
7882 python scripts/devops_tasks/dispatch_tox.py
7983 "$(TargetingString)"
8084 ${{ parameters.AdditionalTestArgs }}
@@ -135,6 +139,10 @@ steps:
135139 pwsh : true
136140 ScriptType : InlineScript
137141 Inline : >-
142+ $account = (Get-AzContext).Account;
143+ $env:AZURESUBSCRIPTION_CLIENT_ID = $account.Id;
144+ $env:AZURESUBSCRIPTION_TENANT_ID = $account.Tenants;
145+
138146 scripts/devops_tasks/dispatch_tox.py
139147 "$(TargetingString)"
140148 --service="${{ parameters.ServiceDirectory }}"
You can’t perform that action at this time.
0 commit comments