【问题标题】:Error: No package found with specified pattern: d:\a\r1\a\**\*.zip错误:找不到具有指定模式的包:d:\a\r1\a\**\*.zip
【发布时间】:2019-11-28 07:16:23
【问题描述】:

我在 Azure Devops 中创建了一个管道定义以将 Angular 应用程序部署到 Azure

我已经在管道定义文件azure-pipilines.yml文件"- task: PublishBuildArtifacts@1"中添加了发布的stepa,但是错误仍然存​​在,Release失败。

错误:找不到具有指定模式的包:d:\a\r1\a***.zip

【问题讨论】:

    标签: angular azure azure-devops azure-pipelines


    【解决方案1】:

    过去已经提到过的几件事:

    • 确保将工件压缩以供发布下载,

    • 如果您正在使用“Azure App Service Deploy”任务,请将“包或文件夹”路径设置为:**$(System.DefaultWorkingDirectory)\CI\drop\s\build**,如提到的here

    • pipeline variable **System.Debug** 定义为 true。这给出了更有用的输出:

    补充参考:

    https://github.com/microsoft/azure-pipelines-tasks/issues/4637

    希望对你有帮助。

    【讨论】:

      猜你喜欢
      • 2019-01-18
      • 2021-09-24
      • 1970-01-01
      • 2021-02-10
      • 1970-01-01
      • 2019-08-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多