每当我的构建管道在Azure DevOps中失败时,我都想创建一个错误。我想将其配置为特定分支
我希望以这样的方式配置我的构建管道,以便每当我的管道失败时都会为此创建一个错误。我找不到为特定分支选择此配置的选项。有人可以帮我解决这个问题吗?
I want to have my build pipeline configured such a way that when ever my pipeline fails there is a bug created for the same. I cannot find an option to select this configuration for a particular branch. Can someone help me with this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个选项 在管道选项选项卡上创建失败时的工作项。
如果构建管道失败,它可以自动创建一个工作项来跟踪问题的解决情况。
但是我们无法为此选项的特定分支配置它,但我们可以使用触发过滤器创建一个新管道分支规范:
在这种情况下,只有特定分支构建失败,它才会创建一个漏洞。
There is an option Create a work item on failure on the pipeline Options tab.
If the build pipeline fails, it can automatically create a work item to track getting the problem fixed.
But we could not configurate it for a particular branch for this option, but we could create a new pipeline with trigger filter Branch specification:
In this case, only the particular branch build failed, it will create a bug.