Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
Severity 3 - Minor
-
91
-
1
-
Description
Issue Summary
Using $web string in Azure web storage pipe is not respected, the pipe ignores the $web due to internal script.
Steps to Reproduce
- Create a $web URL from Azure web storage
- use the following pipe here
- Use $web path in the pipe and run the build
Expected Results
The build will fail on the last steps with error missing path because it's missing $web in the path
Actual Results
The build should look and use $web in all of its steps paths.
The below exception is thrown in the xxxxxxx.log file:
+ echo '+++ azcopy cp '\''build/*'\'' '\''https://test.blob.core.windows.net/$AZURE_STORAGE_SAS_TOKEN'\'' --log-level=DEBUG --recursive INFO: Scanning... failed to perform copy command due to error: cannot transfer individual files/folders to the root of a service. Add a container or directory to the destination URL' + '[' 1 -eq 0 ']' + fail 'Deployment failed.'
Workaround
Use Azure cli to copy files