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

Pipeline: GitHub webhook received but nothing happens

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: github-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.3
      Github Plugin 1.19.1
      Git Plugin 2.4.4
    • Similar Issues:

      Description

      I apologize if this is something known that I've overlooked.

      I've created a small pipeline project in Jenkins to manage Github pushes against some of my enabled repositories. These jobs were brand new, typed as Pipeline jobs (not multibranch - I haven't got the buy-in from my developers to add Jenkinsfiles yet). I have Jenkins configured to automatically create webhooks against these projects, which works perfectly. I am also able to manually run jobs, whereupon I can pull the code and the pipeline builds out as intended.

      The problem lies in Jenkins kicking off the build when the POST is received. For all of these repositories, watching the Jenkins logs, I see this:

      May 25, 2016 4:09:45 PM org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
      INFO: Received POST for https://github.com/[org]/[repo]
      

      But afterwards, nothing happens: no build starts, no exceptions are triggered, nothing. I've read through the plugin and thought this might be a mismatched class type for the job, but I am not a pro at Java, much less Jenkins plugin syntax.

      Am I missing something here? Is there lacking support for this version?

      VERY much appreciate any help anyone can provide. I've been tearing my hair out about this for a few days.

        Attachments

        1. github-polling-log.png
          github-polling-log.png
          11 kB
        2. screenshot-1.png
          screenshot-1.png
          29 kB
        3. screenshot-2.png
          screenshot-2.png
          123 kB

          Activity

          jachandler Josh Chandler created issue -
          jachandler Josh Chandler made changes -
          Field Original Value New Value
          Description I apologize if this is something known that I've overlooked.

          I've created a small pipeline project in Jenkins to manage Github pushes against some of my enabled repositories. These jobs were brand new, typed as Pipeline jobs (not multibranch - I haven't got the buy-in from my developers to add Jenkinsfiles yet). I have Jenkins configured to automatically create webhooks against these projects, which works perfectly. I am also able to manually run jobs, whereupon I can pull the code and the pipeline builds out as intended.

          The problem lies in Jenkins kicking off the build when the POST is received. For all of these repositories, watching the Jenkins logs, I see this:

          {{May 25, 2016 4:09:45 PM org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
          INFO: Received POST for https://github.com/[org]/[repo]}}

          But afterwards, nothing happens: no build starts, no exceptions are triggered, nothing. I've read through the plugin and thought this might be a mismatched class type for the job, but I am not a pro at Java, much less Jenkins plugin syntax.

          Am I missing something here? Is there lacking support for this version?

          VERY much appreciate any help anyone can provide. I've been tearing my hair out about this for a few days.
          I apologize if this is something known that I've overlooked.

          I've created a small pipeline project in Jenkins to manage Github pushes against some of my enabled repositories. These jobs were brand new, typed as Pipeline jobs (not multibranch - I haven't got the buy-in from my developers to add Jenkinsfiles yet). I have Jenkins configured to automatically create webhooks against these projects, which works perfectly. I am also able to manually run jobs, whereupon I can pull the code and the pipeline builds out as intended.

          The problem lies in Jenkins kicking off the build when the POST is received. For all of these repositories, watching the Jenkins logs, I see this:

          {noformat}
          May 25, 2016 4:09:45 PM org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
          INFO: Received POST for https://github.com/[org]/[repo]
          {noformat}

          But afterwards, nothing happens: no build starts, no exceptions are triggered, nothing. I've read through the plugin and thought this might be a mismatched class type for the job, but I am not a pro at Java, much less Jenkins plugin syntax.

          Am I missing something here? Is there lacking support for this version?

          VERY much appreciate any help anyone can provide. I've been tearing my hair out about this for a few days.
          jachandler Josh Chandler made changes -
          Attachment github-polling-log.png [ 32955 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 171352 ] JNJira + In-Review [ 184265 ]
          ianaz Silvio Rainoldi made changes -
          Attachment screenshot-1.png [ 34505 ]
          ianaz Silvio Rainoldi made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          integer Kanstantsin Shautsou made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]
          jachandler Josh Chandler made changes -
          Attachment screenshot-2.png [ 35143 ]

            People

            Assignee:
            lanwen Kirill Merkushev
            Reporter:
            jachandler Josh Chandler
            Votes:
            7 Vote for this issue
            Watchers:
            20 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: