TeamCity Cloud
 
2024.12
Get TeamCity Cloud

Pre-Tested (Delayed) Commit

Edit pageLast modified: 18 September 2024

A pre-tested commit is an approach that prevents committing defective code into a build, so the entire team's process is not affected. These diagrams illustrate the TeamCity approach to pre-tested commits described below.

The submitted code changes go through testing first. If the code passes all the tests, TeamCity can automatically submit the changes to the version control. From there, the changes will automatically be integrated into the next build. If any test fails, the code is not committed, and the submitting developer is notified.

Developers test their changes by performing a Remote Run. A pre-tested commit is enabled when the commit changes if successful option is selected.

The pre-tested commit is initiated via a plugin to one of the supported IDEs. For a remote run a command-line tool is also available.

For Git and Mercurial the recommended way to use Branch Remote Run Trigger approach to run personal builds off branches.