TeamCity integration: supply commit id
Currently GitLab triggers TeamCity build with only buildConfigurationId supplied. This approach results in build added to queue with only branch name specified and when such build starts - it simply builds latest version of branch. So when you look at commit list in GitLab - you can see some commits skipped and on the other hand the first commit after all the skipped (due to busy TeamCity agents for example) gets build status of all the accumulated changes since last build. If it fails - u cant be sure which exactly commit contains breaking changes.
Fix is pretty simple - add this to supplied build definition:
<lastChanges>
<change locator=\"version:#{sha}\"/>
</lastChanges>