From eeea901c053234d76cf2558f13514b3cedbfa449 Mon Sep 17 00:00:00 2001 From: Janani Vasudevan <49576785+jananivMS@users.noreply.github.com> Date: Sat, 23 May 2020 21:33:54 -0600 Subject: [PATCH] Script type to bash --- azure-pipelines.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6929c1df848..875a103703e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 @@ -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: |