TeamCity On-Premises
 
Get TeamCity On-Premises

Configuring VCS Post-Commit Hooks for TeamCity

Edit pageLast modified: 17 December 2024

TeamCity periodically polls remote repositories targeted by each active VCS root to detect new changes. If your installation has hundreds of VCS roots, this continuous polling can significantly load the server.

You can set up post-commit hooks to decrease this load and speed up detecting new changes. In this case, whenever a new commit is pushed to the remote repository, a VCS provider will instantly send TeamCity a request to check for recent changes.