gpt4 book ai didi

azure - Visual Studio Team Services 发布/部署失败 - "No package found with specified pattern"

转载 作者:行者123 更新时间:2023-12-03 12:08:35 24 4
gpt4 key购买 nike

我正在尝试对我的 DEV Azure 应用服务实现持续集成和持续部署。我正在 Visual Studio Team Services 上使用托管代理。我的发布定义中的“将网站部署到 Azure”步骤不断失败,并出现错误“未找到具有指定模式的包”。有什么想法吗?

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

最佳答案

“多个包与指定模式匹配。请限制搜索模式[原文如此]。”当您在任务的“包或文件夹”设置中输入“xxx\*.zip”后,任务找到 2 个或更多包时,通常会发生错误。所以你只需要更新它来指定详细的包名称。类似的问题在这里:Deploy azure website and webjobs in same sln using VSO - Error - There can be only one .

对于最初的问题,您还可以通过在“构建”选项卡上选择“Visual Studio”并在“部署”选项卡上选择“Azure WebApp”来创建新的构建定义来修复它。这将创建一个添加了所需参数的构建定义。

关于azure - Visual Studio Team Services 发布/部署失败 - "No package found with specified pattern",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40267656/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com