Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用新的 VSTS 构建系统,是否可以在接受门控签入之前要求成功发布构建(到 CI)?
到目前为止,门控签入仅与成功构建而非发布相关。但是还有其他选择来处理这种情况。
我在这里发了一个用户声音,你可以投票。
选项1:手动调用发布并将结果添加到您的构建中。您可以在构建定义中添加一个运行发布的power shell 任务,然后获取发布结果,如果发布失败,您可以使您的构建失败。
选项2:即使发布失败,也可以接受签入。所以你可以使用回滚和发布管理。