From b48dd32bd44921d371f8dc378dcd906e3c2c98a5 Mon Sep 17 00:00:00 2001 From: v-schhabra <100183307+v-schhabra@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:09:30 +0530 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b3f1f39fe4e6..72150bdc70b4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,5 @@ parameters: -- name: serviceConnection +- name: Service Connection displayName: Override Service Connection type: string default: '' @@ -30,7 +30,7 @@ steps: displayName: 'AzureCLI $(serviceConnection)' inputs: addSpnToEnvironment: true - azureSubscription: '$(serviceConnection)' # Task property referencing Service Connection ------------------------------------------------------- + azureSubscription: janARM # Task property referencing Service Connection ------------------------------------------------------- scriptType: pscore scriptLocation: inlineScript inlineScript: | @@ -104,7 +104,7 @@ steps: - task: AzurePowerShell@5 displayName: 'AzurePowerShell $(serviceConnection)' inputs: - azureSubscription: '$(serviceConnection)' + azureSubscription: janARM scriptType: inlineScript inline: | Get-AzContext Format-List