This is probably more of a GitLab than Jenkins discussion but I think GitLab can send WebHooks to anything, so it should be able to trigger Jenkins jobs with generic WebHook and I believe there is a way to have Jenkins accept WebHooks. That said, this only works when there is a direct network connection between GitLab and Jenkins. GitHub has a brilliant alternative using SQS queue for triggering jobs in Jenkins - which allows triggering of jobs without direct connection between the two (as long as both can talk to SQS). I have not found an equivalent for GitLab and fear I would either have to write a WebHook to SQS bridge (easy, but not great in terms of security/reliability) or write a native GitLab plugin (no idea what that entails) :-/
-M On Thursday, August 25, 2016 at 11:04:44 PM UTC-7, ST wrote: > > Hi, > > Is there a way to make push event trigger the build for the associated > branch in a Jenkins multi-branch project, using GitLab 8.x Community > Edition (CE)? > > The GitLab documentation about Jenkins integration > http://docs.gitlab.com/ee/integration/jenkins.html > <http://www.google.com/url?q=http%3A%2F%2Fdocs.gitlab.com%2Fee%2Fintegration%2Fjenkins.html&sa=D&sntz=1&usg=AFQjCNE3wAWP1N2ti7I_2oBToGGT6LSFaw> > mentions that the Jenkins GitLab Hook Plugin is deprecated in favor of the > Jenkins GitLab Plugin. However since there is "...gitlab.com/ee/..." in > that URL it is unclear to me whether GitLab CE is supported at all, and > how/where one is supposed to do the configuration? > > Anyone using GitLab CE and was able to configure web hooks for > multi-branch project? Or is the only solution in this case to use "SCM > polling"? > > Thanks! > stefan. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/27087c3d-76cd-4c75-a1ec-13157b68e129%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.