TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Configuring Dependency Triggers

Last modified: 20 April 2023

Dependency triggers allow to start the build every time the build it depends on finishes successfully. Please note, that you can also use Dependent build (snapshot or artifacts) to trigger your builds automatically.

From Build Triggering page you can add the following dependency triggers:

Maven Snapshot Dependency Trigger



Maven snapshot dependency trigger adds a new build to the queue when any of the snapshot dependencies is updated in the remote repository. Dependency artifacts are resolved according to the POM and the server-side Maven Support.

Maven Artifact Dependency Trigger



Maven artifact dependency trigger adds build to the queue when specified Maven artifact changes. To add such trigger, specify the following parameters in the Add New Trigger dialog:

For specifying version ranges use the following syntax, as proposed in the Maven documentation: