Reputation: 325
I am creating a release pipeline on Azure DevOps for deploying ReactJs App. I have two tasks in my release pipeline: Download Build Artifact task and AzureBlob File Copy task. The AzureBlob File Copy task throws the following error:
Upload to container: '$web' in storage account: 'XyzContainer' with blob prefix: '' failed with error: 'AzCopy.exe exited with non-zero exit code while uploading files to blob storage.
Please see the following screenshot:
Following are the settings for the AzureBlob File Copy task:
Thank you.
Upvotes: 8
Views: 5863
Reputation: 177
Version 3 works as well.
There's still a bug with version 4. and with version3, you don't need to add quotation marks to the container name
Upvotes: 1
Reputation: 325
I made the following two changes to AzureBlob File Copy task settings and it worked!
Change #1: Downgrade the task version from 4 to 2.
Change #2: In the container name field, add quotation marks with the container name. For example: from web --> "$web"
Upvotes: 10