I note down the step I did to integrate TeamCity build server and GitLab CI pipeline. I am using TeamCity 2017.1.15 and GitLab 10.0.3.
What you will get with this integration:
- Small green tick for each commit showing that a build has run successfully on the commit
- Bigger tick for each merge request (MR) showing that a build has run successfully on the head of the merge request
- Ability to enforce a successful build before any MR can be merged
How to set up the integration
Tldr, you need to go through 3 main steps:
- Enable TeamCity integration in your GitLab project settings
- Enable TeamCity build configuration to monitor and trigger build for all (CI) branches
- Enable “Commit status publisher” build feature