每当我的构建管道在Azure DevOps中失败时,我都想创建一个错误。我想将其配置为特定分支

发布于 2025-01-19 10:02:34 字数 79 浏览 5 评论 0原文

我希望以这样的方式配置我的构建管道,以便每当我的管道失败时都会为此创建一个错误。我找不到为特定分支选择此配置的选项。有人可以帮我解决这个问题吗?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

岁月静好 2025-01-26 10:02:34

每当我的构建管道在 azure devops 中失败时,我想创建一个错误。我想为特定分支配置它

有一个选项 在管道选项选项卡上创建失败时的工作项

如果构建管道失败,它可以自动创建一个工作项来跟踪问题的解决情况。

但是我们无法为此选项的特定分支配置它,但我们可以使用触发过滤器创建一个新管道分支规范:

在此处输入图像描述

在这种情况下,只有特定分支构建失败,它才会创建一个漏洞。

I want to create a bug whenever my build pipeline fails in azure devops. And i want to have it configured for a particular branch

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:

enter image description here

In this case, only the particular branch build failed, it will create a bug.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文