Why Not TeamCity Building Project With Last Commit? Follow Ilkay Gunel Created March 12, 2019 06:09 Hi everyone, I'm new in TeamCity and using it to build and get war file from source code that is in the Github Repo. I set up a VCS trigger to build automatically project when I commit to my Java web project. On VCS trigger I only checked " Trigger a build on each check-in" box. I didn't define any rule. When I send a commit, the build starts but not with latest commit. The build starts with commit that before the latest commit. I haven't got Branch specification on Version Control Settings. How can TeamCity build the project with latest commit in the Gihub repository?