Search code examples
continuous-integrationbuild-automationgitlabbuildbot

Gitlab hook on opening merge request


I have a buildbot server and Gitlab. I could not figure out, to trigger builds whenever a merge request is opened on Gitlab. The purpose should be, that buildbot writes a comment back to the merge request whenever a build succeeds or fails (where as the build is done on the merge request + the upstream branch).

Any hints how to trigger that?

Thanks!


Solution

  • The Gitlab team actually merged some stuff in to make it possible to fire web hooks whenever a merge request is opened or updated: see https://github.com/gitlabhq/gitlabhq/pull/5881 and https://github.com/gitlabhq/gitlabhq/issues/1137