Using this page Teamcity REST API I could manage to get status of builds in teamcity. I also found this library TeamCitySharp to get information about Teamcity builds. Is there any API that I can use to get list of all Nugget Packages used for each build? I would appreciate code sample.
Asked
Active
Viewed 945 times
1 Answers
2
I know it's been a long while since this question was asked, but I've just been searching for the answer and passed this question before I found this:
From the Teamcity REST API, you can retrieve the build id, which when used in the above template will provide you with an XML file, listing the NuGet packages used in a the build.

Adam Cork
- 21
- 1
- 4
-
Sorry, my first answer and wasn't very clear. I've updated to better explain. The link provided wasn't meant to be a web link, but a link to the OP's (or anyone's) local teamcity instance to get the information they were looking for. Thanks. – Adam Cork Aug 22 '17 at 21:51
-
Is there a required step before using this URL? I have sucessfully obtained the buildid but when i launch the url i get a 404 – BlackSpy Dec 11 '18 at 13:48