Icon

You are viewing the documentation of TeamCity 9.x, which is not the most recently released version of TeamCity.
View this page in TeamCity 10.x and 2017.1 documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.

 
Skip to end of metadata
Go to start of metadata

When using NuGet packages from an external authenticated feed during a build on TeamCity, the credentials for connecting to that feed have to be specified.

Adding this information to source control is not a secure practice, so TeamCity provides the NuGet Feed Credentials build feature which allows interacting with feeds that require authentication.

When editing the build configuration, from the list of available Build Features select NuGet Feed Credentials. In the dialog that is opened, specify the feed URL and the credentials to connect to the feed.

You can add this build feature to any build configuration, one for every feed that requires authentication.

Icon

Since TeamCity 9.1.4, when using TeamCity as the internal Nuget server, the credentials specified via this build feature are ignored; the internal TeamCity authentication is used.

 

 

  • No labels