...
TeamCity integrates with NuGet package manager and when NuGet is installed provides the following capabilities:
- NuGet feed based on the builds' published artifacts
- A set of NuGet runners to be used in builds on Windows OS; and since TeamCity 2017.1 on Linux and Mac OSX when Mono is installed on the agent. Only NuGet 3.2+ on Mono 4.x4.2+ is supported.
- the NuGet Installer build runner, which installs and updates NuGet packages
- the NuGet Pack build runner, which builds NuGet packages
- the NuGet Publish build runner, which publishes packages to a feed of your choice
...
- To install packages from a public feed, add the NuGet Installer build step.
- To create a package and publish it to a public feed, add the NuGet Pack and NuGet Publish build steps.
- To create a package and publish it to the internal TeamCity NuGet Server, enable TeamCity as a NuGet Server (see the section below), use the NuGet Pack build step and NuGet Publish build steps.
- To trigger a new build when a NuGet package is updated, use NuGet Dependency Trigger.
...
Publishing of NuGet symbol packages to the internal TeamCity feed may cause issues when using an external source server. See the corresponding issue in our public tracker.
Proxy Configuration
NuGet command line client supports proxy server configuration via NuGet.config file parameters or environment variables. See NuGet documentation for more details.
See also:
Panel | ||||
---|---|---|---|---|
| ||||
Administrator's Guide: NuGet Installer | NuGet Publish | NuGet Pack | NuGet Dependency Trigger |
...