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

标签 azure tfs azure-devops ms-release-management

我正在尝试对我的 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/

相关文章:

Azure 搜索,是否可以在同一查询中使用建议和配置文件评分

azure - 如何在不暴露源代码的情况下部署到 Azure?

c# - Azure 应用程序日志不显示跟踪消息

c# - 紧急回滚后如何将回滚的变更集+修复 checkin TFS

linux - 如何允许从VSTS到Linux的SSH连接

visual-studio - 将 TFSService 版本发布到 Azure 失败并出现 DirectoryNotFoundException

visual-studio - 自定义 Team Foundation Server 工作项模板

tfs - 来自 Team Foundation Server 管理控制台的错误消息

Azure DevOps 管道 - 获取前一阶段的内部版本号

azure - 我的组织用户对 Azure Devops 存储库的访问受到限制