Skip to content

Commit

Permalink
Script type to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
jananivMS committed May 24, 2020
1 parent 053d540 commit eeea901
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ steps:
- task: AzureCLI@2
inputs:
azureSubscription: 'ASO Subscription'
scriptType: 'batch'
scriptType: 'bash'
scriptLocation: 'inlineScript'
inlineScript: |
az resource list --tag freeforpipeline=true --query '[].{Name:name}' -o table > clusters.txt
Expand All @@ -176,9 +176,8 @@ steps:
echo 'az aks get-credentials -g $(AKS_CLUSTER_RG) -n $clustername)'
az aks get-credentials -g $(AKS_CLUSTER_RG) -n $clustername
# Set tags to not available for the selected cluster
workingDirectory: '$(System.DefaultWorkingDirectory)'
failOnStandardError: true
workingDirectory: $(System.DefaultWorkingDirectory)
displayName: Deploy to AKS - Find available AKS cluster and connect to it

- script: |
Expand Down

0 comments on commit eeea901

Please sign in to comment.