Skip to content

Commit 645af32

Browse files
Merge pull request #8011 from MicrosoftDocs/users/jukullam/update-file-copy
Update azure file copy task in variables article
2 parents 4ce7f77 + daafa09 commit 645af32

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/pipelines/process/variables.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -493,15 +493,16 @@ pool:
493493
vmImage: 'ubuntu-latest'
494494
495495
steps:
496-
- task: AzureFileCopy@4
496+
- task: AzureFileCopy@6
497497
inputs:
498-
SourcePath: 'my/path'
499-
azureSubscription: 'my-subscription'
500-
Destination: 'AzureVMs'
501-
storage: 'my-storage'
502-
resourceGroup: 'my-rg'
503-
vmsAdminUserName: $(VMS_USER)
504-
vmsAdminPassword: $(VMS_PASS)
498+
SourcePath: 'my/path' # Specify the source path
499+
azureSubscription: 'my-subscription' # Azure subscription name
500+
Destination: 'AzureVMs' # Destination type
501+
storage: 'my-storage' # Azure storage account name
502+
resourceGroup: 'my-resource-group' # Resource group name
503+
vmsAdminUserName: $(VMS_USER) # Admin username for the VM
504+
vmsAdminPassword: $(VMS_PASS) # Admin password for the VM
505+
CleanTargetBeforeCopy: false # Do not clean the target before copying
505506
```
506507

507508
### Reference secret variables in variable groups

0 commit comments

Comments
 (0)