TeamCity 4.0 Help

Configuring Build Triggers

This section covers configuring all types of the build trigger in TeamCity:

VCS Triggers

With configured VCS Build Triggers TeamCity periodically polls VCS roots of the build configuration for changes, automatically detects that changes were committed and starts a new build. The poll period is defined by the root's Changes Checking Interval.

For VCS Triggers you can specify Quiet mode settings (quiet mode is a period that should pass before a build is placed into the Build Queue) and particular triggers rules. Refer to the Configuring VCS Triggers page for detailed description.

Scheduled Triggers

Scheduled trigger allows to set time when a build of the configuration will be run daily or weekly. Besides you can specify more complex time settings using cron expressions (refer to the Cron Expression Build Trigger page for details).

Dependencies Triggers

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.

Other Triggers

These settings allow to start a build automatically if the previous build failed. Enter a period of time in seconds to wait before the next build will be started.

Configuring Build Triggers Using Scripts

Beside above mentioned trigger settings, you can also use Accessing Server by HTTP.

Last modified: 20 April 2023