【问题标题】:How to use TeamCity REST API to get the builds which are in QUEUE如何使用 TeamCity REST API 获取 QUEUE 中的构建
【发布时间】:2014-02-26 09:59:53
【问题描述】:

使用“https://teamcity.com/app/rest/builds/{buildLocator}?locator=running:any”API 可以获得所有正在运行和已完成的构建,但无法获取队列中的构建。

如何在队列中获取构建?有人知道吗? 谢谢!

【问题讨论】:

    标签: rest queue teamcity


    【解决方案1】:

    根据可用的 TeamCity 8.x 文档here,GET 调用是:

    http://<server>/httpAuth/app/rest/buildQueue
    

    您还可以获取每个项目或每个构建配置的队列构建。

    【讨论】:

    • 非常感谢。对我有用。
    最近更新 更多