如何获取 teamcity 构建的变化?我得到了以下 URL,其中列出了所有构建更改并提供了一个 URL,我们可以使用它来查看更改
http://teamcityserver/httpAuth/app/rest/changes?buildType=id:bt2
然而,给定的 URL “/httpAuth/app/rest/changes/id:433” 采用的 id 是修改 id。
- 我们如何获得修改ID?
- 我们可以通过内部构建 ID 或编号来获取特定构建的更改吗?
如何获取 teamcity 构建的变化?我得到了以下 URL,其中列出了所有构建更改并提供了一个 URL,我们可以使用它来查看更改
http://teamcityserver/httpAuth/app/rest/changes?buildType=id:bt2
然而,给定的 URL “/httpAuth/app/rest/changes/id:433” 采用的 id 是修改 id。
也许您需要的是:“ https://teamcity.blabla.com/httpAuth/app/rest/changes/buildType:(id:20140010),build:(number:102) ”(是的,里面有一个逗号)
这给了我特定构建的更改。
首先获取构建 ID,假设它是 88506,然后下面的请求 url 将列出构建中的所有更改:-
https://teamcityServer/httpAuth/app/rest/changes?locator=build:(id:88506)