-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I'm using Azure Pipelines. I'd like to append /SetContentType
to the AzCopy command so I configured Additional Arguments field. Here is my config:
Here is the YAML version:
steps:
- task: geeklearningio.gl-vsts-tasks-azure.az-copy-task.AzCopy@1
displayName: 'Copy files from or to Azure Storage'
inputs:
SourceKind: FileSystem
SourcePath: '$(System.DefaultWorkingDirectory)/_QA-CI/drop/site'
DestinationConnectedServiceName: 'Microsoft Azure Sponsorship'
DestinationAccount: docs
DestinationObject: site
Recursive: true
ExcludeNewer: false
ExcludeOlder: false
Arguments: /SetContentType
Here is the log. I can't see /SetContentType
in the command:
2021-08-22T03:24:15.1293251Z [command]C:\agents\2.190.0\externals\azcopy\azcopy.exe /Source:D:\a\r1\a\_QA-CI\drop\site /Dest:https://mystor.blob.core.windows.net/site /DestKey:****** /S /Y
I saw the source. It seems okay. I don't know why I can't add Additional Arguments to the command.
gl-vsts-tasks-azure/Tasks/AzCopy/azCopy.ts
Lines 196 to 198 in 5da8506
if (additionalArguments) { | |
toolRunner.line(additionalArguments); | |
} |
I already tried many ways. I never have a chance to add additional arguments to the AzCopy command.
Is this a bug or what's missing from me?
Metadata
Metadata
Assignees
Labels
No labels