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

Jenkins 2.1 not registering GitHub org webhooks: "WARNING: Failed to register GitHub Org hook to ..."

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • Jenkins 2.1, github-organization-folder 1.3, github-api 1.75

      When creating a new job for a GitHub org, I'm seeing the following in the Jenkins logs:

      WARNING: Failed to register GitHub Org hook to https://github.com/karlmdavis (missing permissions?): {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
      May 04, 2016 8:03:46 PM org.jenkinsci.plugins.orgfolder.github.MainLogic applyOrg
      WARNING: Failed to register GitHub Org hook to https://github.com/HHSIDEAlab (missing permissions?): {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
      

      I did confirm that the personal access token I'm using has the admin:repo_hook permission, as well as admin:org_hook. Not sure what else to check.

      The plugin seems to work correctly aside from this: it finds projects with Jenkinsfile s and builds them when asked. Just no webhook triggers.

          [JENKINS-34612] Jenkins 2.1 not registering GitHub org webhooks: "WARNING: Failed to register GitHub Org hook to ..."

          karlmdavis created issue -
          karlmdavis made changes -
          Description Original: When creating a new job for a GitHub org, I'm seeing the following in the Jenkins logs:

          {code}
          WARNING: Failed to register GitHub Org hook to https://github.com/karlmdavis (missing permissions?): {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
          May 04, 2016 8:03:46 PM org.jenkinsci.plugins.orgfolder.github.MainLogic applyOrg
          WARNING: Failed to register GitHub Org hook to https://github.com/HHSIDEAlab (missing permissions?): {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
          {code}

          I did confirm that the personal access token I'm using has the {{admin:repo_hook}} permission, as well as {{admin:org_hook}}. Not sure what else to check.

          The plugin seems to work correctly aside from this: it finds projects with {{Jenkinsfile}}s and builds them when asked. Just no webhook triggers.
          New: When creating a new job for a GitHub org, I'm seeing the following in the Jenkins logs:

          {code}
          WARNING: Failed to register GitHub Org hook to https://github.com/karlmdavis (missing permissions?): {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
          May 04, 2016 8:03:46 PM org.jenkinsci.plugins.orgfolder.github.MainLogic applyOrg
          WARNING: Failed to register GitHub Org hook to https://github.com/HHSIDEAlab (missing permissions?): {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
          {code}

          I did confirm that the personal access token I'm using has the {{admin:repo_hook}} permission, as well as {{admin:org_hook}}. Not sure what else to check.

          The plugin seems to work correctly aside from this: it finds projects with {{Jenkinsfile}} s and builds them when asked. Just no webhook triggers.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170774 ] New: JNJira + In-Review [ 184037 ]
          Stephen Connolly made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Dee Kryvenko made changes -
          Component/s New: github-branch-source-plugin [ 20858 ]
          Component/s Original: github-organization-folder-plugin [ 21427 ]

            kohsuke Kohsuke Kawaguchi
            karlmdavis karlmdavis
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: