【问题标题】:Copy files to azure blob storage using bitbucket pipeline yml script使用 bitbucket 管道 yml 脚本将文件复制到 azure blob 存储
【发布时间】:2020-06-21 15:55:11
【问题描述】:

我们正在尝试按照以下语法(高级示例)通过 bitbucket 管道将源文件从 bitbucket 复制到 Azure blob 容器:

https://bitbucket.org/atlassian/azure-storage-deploy/src/master/README.md?_ga=2.125236490.1078830649.1583361198-1461322304.1571236371

azcopy --quiet --source "ax/file.html" --destination "https://xyz.blob.core.windows.net/test/file.html" --dest-sas "$AZURE_STORAGE_SAS_TOKEN"[2020// ::**][ERROR] 解析目标位置“https://xyz.blob.core.windows.net/test/file.html”时出错:位置“https://xyz.blob.core.windows.net/test/file.html”无效,无法解析地址。有关更多详细信息,请键入“azcopy --help destination”或使用详细选项 --verbose。✖ 部署失败

从源文件夹复制文件内容时,我们遇到以下错误。

我们检查了语法、文件位置,一切似乎都正常。

任何人都可以调试这个并准确地提及错误吗?

【问题讨论】:

    标签: azure azure-blob-storage bitbucket-pipelines


    【解决方案1】:

    通过在变量中声明源值和目标值,然后从管道 yml 脚本中的存储库变量中调用它,我已经摆脱了上述错误。

    【讨论】:

      猜你喜欢
      • 2022-09-28
      • 1970-01-01
      • 1970-01-01
      • 2020-08-18
      • 2021-07-29
      • 1970-01-01
      • 2018-08-18
      • 2019-04-01
      • 2017-05-06
      相关资源
      最近更新 更多