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 @@ -82,6 +82,10 @@ steps:
8282 azurePowerShellVersion : LatestVersion
8383 ScriptType : InlineScript
8484 Inline : |
85+ $account = (Get-AzContext).Account
86+ $env:AZURESUBSCRIPTION_CLIENT_ID = $account.Id
87+ $env:AZURESUBSCRIPTION_TENANT_ID = $account.Tenants
88+
8589 ./eng/scripts/run_tests.ps1 ${{ parameters.ServiceDirectory }} ${{ parameters.TestRunTime }} $${{ parameters.EnableRaceDetector }}
8690 exit $LASTEXITCODE
8791 pwsh : true
@@ -100,6 +104,10 @@ steps:
100104 azurePowerShellVersion : LatestVersion
101105 ScriptType : InlineScript
102106 Inline : |
107+ $account = (Get-AzContext).Account
108+ $env:AZURESUBSCRIPTION_CLIENT_ID = $account.Id
109+ $env:AZURESUBSCRIPTION_TENANT_ID = $account.Tenants
110+
103111 eng/scripts/Build_Perf.ps1 ${{ parameters.ServiceDirectory }} $$(UseAzcoreFromMain)
104112 exit $LASTEXITCODE
105113 pwsh : true
You can’t perform that action at this time.
0 commit comments