File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ extends:
228228 archiveType : tar
229229 tarCompression : none
230230 archiveFile : $(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot/Shell/Run.tar
231- verbose : true
232231 displayName : Compress Run script into tar file as needed for EV2 Shell extension
233232 - pwsh : |
234233 $pathToJsonFile = '$(Build.SourcesDirectory)/EV2Specs/ServiceGroupRoot/SecretManagementToACR.Rollout.json'
@@ -248,12 +247,7 @@ extends:
248247 $identityString = "/subscriptions/$(acr_subscription)/resourcegroups/$(acr_resource_group)/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$(managed_identity_name)"
249248 $content.shellExtensions.launch.identity.userAssignedIdentities[0] = $identityString
250249
251- Remove-Item -Path $pathToJsonFile
252-
253- $json = $content | ConvertTo-Json -Depth 6
254-
255- Write-Verbose -Verbose $json
256-
250+ Remove-Item -Path $pathToJsonFile
257251 $content | ConvertTo-Json -Depth 6 | Out-File $pathToJsonFile
258252 displayName: 'Replace values in SecretManagementToACR.Rollout.json file'
259253 - pwsh : |
You can’t perform that action at this time.
0 commit comments