Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show in GitLab TeamCity builds status

I've managed to configure TeamCity to automatically pull the new checked-in changes from GitLab and build it.

Next step I would like that the build status icon in GitLab reflects the build status from TeamCity.

At the moment each build TeamCity builds, GitLab continues to show "build:skipped". As I understand this is because it's not run with Gitlab CI and that my repo misses gitlab-ci.yml. I did setup the TeamCity CI service for the project but it didn't help with anything. Maybe I'm misunderstanding the purpose of this service.

Is there a way to change the default build tracker from GitLab-CI to TeamCity so that I can see the build status from TeamCity in GitLab as well?

like image 692
Claudiu Avatar asked Dec 19 '22 18:12

Claudiu


1 Answers

With TeamCity 10 the Commit Status Publisher build feature is deployed with the default installation. Also GitLab is supported now out of the box. Enter the URL of your server and your private token and it will work like a charm.

like image 52
dwonisch Avatar answered Dec 21 '22 08:12

dwonisch