TeamCity 休息 API [英] TeamCity Rest API
本文介绍了TeamCity 休息 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获取teamcity build的变化?我得到了以下 URL,其中列出了所有构建更改并提供了一个 URL,我们可以使用该 URL 查看更改
How to get the changes of a teamcity build? I got the following URL wich list all the build changes and provides a URL using which we can view the changes
http://teamcityserver/httpAuth/app/rest/changes?buildType=id:bt2
然而,给定的 URL "/httpAuth/app/rest/changes/id:433" 采用 id,即修改 id.
However the given URL "/httpAuth/app/rest/changes/id:433" takes the id which is modification id.
- 我们如何获得修改 ID?
- 我们能否通过内部构建 ID 或编号来获取特定构建的更改?
推荐答案
首先获取 build ID,说它是 88506,然后下面的请求 url 将列出 build 中的所有更改:-
First Get the build ID, say it's 88506, then the below request url will list all the changes in the build:-
https://teamcityServer/httpAuth/app/rest/更改?locator=build:(id:88506)
这篇关于TeamCity 休息 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文