TeamCity的REST API [英] TeamCity Rest API
本文介绍了TeamCity的REST API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获得的TeamCity构建的变化?
我得到了以下网址至极列表中的所有构建变化,并提供了使用它我们可以查看更改的URL
的http:// teamcityserver / httpAuth /应用/ REST /变化buildType = ID:BT2
但给定的URL/ httpAuth /应用/ REST /更改/编号:433取ID是修改ID
。- 我们怎样才能把修改ID?
- 我们可以通过内部版本ID或号码来获得特定生成的chnages?
解决方案
首先获取构建标识,说它是88506,那么下面的URL请求将列出构建所有的变化: -
https://开头teamcityServer / httpAuth /应用/ REST /改变定位器=版本:(ID:88506)
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
However the given URL "/httpAuth/app/rest/changes/id:433" takes the id which is modification id.
- How do we get the modification ID?
- Can we pass the internal build ID or number to get the chnages of a specific 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/changes?locator=build:(id:88506)
这篇关于TeamCity的REST API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文