

If you have a build chain (that is a number of builds interconnected by snapshot dependencies), the triggers are to be configured in the final build in the chain. Trigger build on changes in snapshot dependencies


You can adjust a VCS trigger to your needs using the options described below: The global default value for both options is 60 seconds and can be configured for the server on the Administration | Global Settings page. If several check-ins are made within short time frame and discovered by TeamCity together, only one build will be triggered.Īfter the last change is detected, a quiet period can be configured to wait for some time without changes before the build is queued. Only the changes matched by the checkout rules are displayed as pending and thus are processed by the trigger. Multiple VCS triggers can be added to a build configuration.Ī new VCS trigger with the default settings triggers a build once there are pending changes in the build configuration: the version control is polled for changes according to the checking for changes interval of a VCS root honoring a VCS commit hook if configured. VCS triggers automatically start a new build each time TeamCity detects new changes in the configured VCS roots and displays the change in the pending changes.
