TeamCity 7.0 Help

NuGet Dependency Trigger

NuGet Dependency Trigger allows to start a new build if there is a NuGet packages update detected in NuGet repository. Prerequisites:

  • .NET 4.0 should be installed on TeamCity server

To configure NuGet Dependency Trigger you need to:

  • select NuGet version to use from the NuGet.exe drop-down list (if you have NuGet), or specify custom path to NuGet.exe;

  • specify NuGet package source, if it's different from nuget.org;

  • and enter package Id to check for updates.

Optionally, you can specify package version range to check for. If not specified, TeamCity will check for latest version. Starting with TeamCity 7.1 you can also opt to trigger build if pre-release package version is detected by selecting corresponding check box. Note that this is only supported for NuGet version 1.8 or newer.

Last modified: 20 April 2023