Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity don't trigger automatic build

I'm dumb with continuous integration and noticed a behavior that does not seem right..

I'm using Mercurial with TeamCity. When I push changes the TeamCity detect the changes but don't run the build automatically. This is correct behavior? He should not detect the changes and run the build automatically?

like image 441
Acaz Souza Avatar asked Feb 13 '12 19:02

Acaz Souza


People also ask

How do I manually trigger a build in TeamCity?

To run a custom build with specific changes, open the build results page, go to the Changes tab, expand the required change, click the Run build with this change, and proceed with the options in the Run Custom Build dialog. Use HTTP request or REST API request to TeamCity to trigger a build.

What is Schedule build trigger?

The schedule trigger allows defining a schedule for automatically running builds in a given configuration. Multiple schedule triggers can be added to a single build configuration. The Builds Schedule section of the current Project Settings displays the configured build times.

Which of the following triggers enable you to execute your build as soon as the code changes?

A Cloud Build trigger automatically starts a build whenever you make any changes to your source code.


1 Answers

Triggers are not added to build configurations by default in TeamCity. You'll need to go to the settings for the configuration and click on "Build Triggers" then "Add Trigger". The type of trigger I believe you are looking for is a "VCS Trigger".

The documentation for this feature can be found here.

like image 107
mockobject Avatar answered Oct 06 '22 20:10

mockobject