如何取消选中的“覆盖YAML连续集成触发的触发”。来自API的复选框

发布于 2025-01-30 08:48:32 字数 413 浏览 4 评论 0原文

我尝试使用azure-devops-node-api节点软件包和REST API来编程地取消选中“从这里覆盖YAML连续集成触发”的复选框。

我已经使用git diff将此页面上的网络响应与已选中的复选框进行比较,并且未检查,并且该属性似乎不包含在构建定义中。

有什么想法如何构建构建定义以使此复选框未选中?

我已经将触发器数组空白了,我探索了可能相关的构建选项,我尝试使用一个触发器类型NONE使用单个触发器...

enter image description here

I have tried use the azure-devops-node-api node package and the REST API to programmatically uncheck the 'Override the YAML continuous integration trigger from here' check box.

I have used git diff to compare the network response on this page with the check box checked and not checked and the property doesn't seem to be included in the build definition.

Any ideas how to structure the build definition to leave this checkbox unchecked?

I have left the triggers array empty, I have explored build options that may be relevant, I have tried using a single trigger with trigger type None...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文