Skip to content

Commit b48dd32

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent c8ac11f commit b48dd32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
- name: serviceConnection
2+
- name: Service Connection
33
displayName: Override Service Connection
44
type: string
55
default: '<from subscriptionConnection variable>'
@@ -30,7 +30,7 @@ steps:
3030
displayName: 'AzureCLI $(serviceConnection)'
3131
inputs:
3232
addSpnToEnvironment: true
33-
azureSubscription: '$(serviceConnection)' # Task property referencing Service Connection -------------------------------------------------------
33+
azureSubscription: janARM # Task property referencing Service Connection -------------------------------------------------------
3434
scriptType: pscore
3535
scriptLocation: inlineScript
3636
inlineScript: |
@@ -104,7 +104,7 @@ steps:
104104
- task: AzurePowerShell@5
105105
displayName: 'AzurePowerShell $(serviceConnection)'
106106
inputs:
107-
azureSubscription: '$(serviceConnection)'
107+
azureSubscription: janARM
108108
scriptType: inlineScript
109109
inline: |
110110
Get-AzContext Format-List

0 commit comments

Comments
 (0)