GitLab-to-TeamCity hook translator
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2018-10-28 17:52:16 +01:00
go.mod Support Bitbucket 2018-10-28 17:52:16 +01:00
go.sum Support Bitbucket 2018-10-28 17:52:16 +01:00
main.go Support Bitbucket 2018-10-28 17:52:16 +01:00
README.md Additional commentary 2018-04-21 07:50:45 +02:00

gltchook

A GitLab-to-TeamCity hook converter.

GitLab doesn't natively support TeamCity hooks in a good ways. TeamCity requires an odd URL format that is painful to construct manually. This project takes a default GitLab push hook and converts it into the appropriate TeamCity API call to recheck the affected repositories.

The repository URL is extracted from the hook payload. The simplest way to set this up for all repositories on a GitLab/TeamCity instance is to install it once on the TeamCity server and set up a system push hook in GitLab. TC will then be notified about all pushes regardless of project and will react accordingly.