Skip to content

Commit

Permalink
Add Azure CLI task
Browse files Browse the repository at this point in the history
  • Loading branch information
cheenamalhotra committed Oct 17, 2024
1 parent 4e8dbbd commit b98e856
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions eng/pipelines/common/templates/steps/run-all-tests-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,20 @@ steps:
retryCountOnTaskFailure: 2

- ${{ else }}: # Linux or macOS
- task: AzureCLI@2
displayName: 'Run Azure CLI'
inputs:
azureSubscription: 'ADO.Net-UAMI'
useGlobalConfig: true
addSpnToEnvironment: true
scriptType: ps
scriptLocation: inlineScript
inlineScript: |
az --version
az ad signed-in-user show
$env:AZURE_TENANT_ID=$tenantId
$env:AZURE_CLIENT_ID=$servicePrincipalId
- task: DotNetCoreCLI@2
displayName: 'Run Functional Tests'
inputs:
Expand Down

0 comments on commit b98e856

Please sign in to comment.