我正在尝试使用 Team City rest api 来获取当前正在执行的构建的列表。似乎它只返回默认分支上的构建,我想在所有分支上获取构建。这是我正在使用的 api 调用:

/teamcity/guestAuth/app/rest/builds?locator=running:true&branch:(default:any)

最佳答案

发现问题的网址应该是:

/teamcity/guestAuth/app/rest/builds?locator=running:true,branch:(default:any)

关于teamcity - Team City Rest API - 获取正在运行的构建,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22329742/

10-16 17:35