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

GitHub Webhook not created unless Git URL is also defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • github-plugin
    • None
    • Jenkins 2.16
      GitHub API Plugin 1.76
      GitHub Branch Source Plugin 1.8.1
      GitHub Organization Folder Plugin 1.4
      GitHub plugin 1.20.0
      Pipeline 2.2

      Freestyle project with GitHub URL and 'Build when a change is pushed to GitHub'

      Result: GH Webhook is not created.

      Logs:

      Aug 05, 2016 2:33:01 PM org.jenkinsci.plugins.github.webhook.WebhookManager$1 run
      INFO: GitHub webhooks activated for job the-kids-can-go with [] (events: [PUSH, REPOSITORY])
      

      Freestyle project with GitHub URL, 'Build when a change is pushed to GitHub' and Git repository URL defined

      Result: GH Webhook is created

      Logs:

      Aug 05, 2016 2:33:37 PM org.jenkinsci.plugins.github.webhook.WebhookManager$1 run
      INFO: GitHub webhooks activated for job the-kids-can-go with [GitHubRepositoryName[host=github.com,username=crash-test-dummies,repository=the-kids-arent-alright]] (events: [PUSH, REPOSITORY])
      Aug 05, 2016 2:33:38 PM org.jenkinsci.plugins.github.webhook.subscriber.PingGHEventSubscriber onEvent
      INFO: PING webhook received from repo <https://github.com/crash-test-dummies/the-kids-arent-alright>!
      

      Tested with Freestyle and Pipeline builds.

            lanwen Kirill Merkushev
            gtirloni Giovanni Tirloni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: