Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34640

Jenkins job does not trigger on gitlab merge request

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gitlab-plugin
    • None

      Hi,

      Gitlab job does not trigger on Gitlab merge request create/update events.

      Jenkins v. Jenkins ver. 1.625.2
      Gitlab plugin v. 1.1.28
      Git client plugin v. 1.19.6
      Git plugin 2.4.4
      Gitlab v. 8.5.1-ee
      Web Hooks configuration: Merge Request events

      Jenkins job is configured to trigger on merge request events (Build on Merge Request Events enabled).

      Gitlab merge request create event issue:

      From Jenkins log:

      May 06, 2016 12:59:09 PM com.dabsquared.gitlabjenkins.GitLabWebHook getDynamic
      INFO: WebHook called with url:
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      	at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:409)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
      	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:461)
      	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:412)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:201)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

      Gitlab merge request update event issue

      May 06, 2016 10:33:20 AM com.dabsquared.gitlabjenkins.GitLabWebHook getDynamic
      INFO: WebHook called with url:
      May 06, 2016 10:33:20 AM com.dabsquared.gitlabjenkins.GitLabWebHook generateMergeRequestBuild
      INFO: Existing Merge Request, build will be trigged by buildOpenMergeRequests instead
      

      Thanks

            coderhugo Robin Müller
            pahask8 Pavel Taraskin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: