azure-devops-rest-api - 如何通过提交检索构建?
问题描述
我有一个与commit XXX
. 是否有可能通过提交来构建?
我发现了类似的问题 - How to get build list for specific Commit through DevOps REST API
但我的提交状态为空。你能帮我在这里找到正确的解决方案吗?
解决方案
不幸的是,没有这样的 api 可以通过提交来构建,您可以在以下网站提交建议:
https://developercommunity.visualstudio.com/content/idea/post.html?space=21
目前,您需要从Builds - List api 中过滤sourceVersion
(commitID) 参数来获取构建列表。
推荐阅读
- ssas - MDX - 将行转置为列
- node.js - 如何通过 admin SDK 注销用户?(使 auth === null)
- image - 如何使用图像箱使白色背景透明?
- spring - 如何动态设置实体的架构参数?
- windows - 在 Windows Store 上发布基于 UWP-Xamarin 的应用程序时出错
- python - SELECT 操作中 console.execute() 的预期返回值是多少
- woocommerce - 如何删除 woocommerce 中失败订单的付款按钮?
- reactjs - 使用 react-testing-library 和 Jasmine
- java - 如何在不同的 CSV 文件中导出多个表?
- python - Numba 在它应该擅长的任务中比 python 等效慢 10 倍