Access to Nuget used packages from API
Hi,
I need to automate a few steps on our build process, one of the steps requires I get the list of Nuget used packages that Team City generates every build on the nugetPackagesBuildTab.
I would prefer to access this information throught the API, but I've been unable to find any away to acheive this. Is my only option HTML scrapping?
Thanks,
Pedro
Please sign in to leave a comment.
Hi Pedro,
No, we do provide special REST API request to get this list. While this list is saved as hidden artifact in .teamcity/nuget/nuget.xml folder. So you can use REST API to download this file: