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

GitHub manages hooks even when it has not been configured to do it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • github-plugin
    • None

      Jenkins GitHub plugin requires a user with administration access to manage hooks:

      "There is no credentials with admin access to manage hooks on GitHubRepositoryName[host=example.org,username=username,repository=repository]"

      Such approach does not match our security guidelines, so we manage all hooks manually (from GitHub UI). Unfortunately, Jenkins still tries to manage webhooks even when we didn't ask to do it. Our servers list is empty:

      I searched for any option which will allow disable this behavior but I didn't find anything. This is the configuration of SCM for our projects:

      I believe it is a bug because Jenkins shouldn't do stuff, when we don't configure it. If this behavior is expected, then this ticket should be changed to a feature:

      Allow disabling managing webhooks when no GitHub server is configured

        1. github-servers.png
          11 kB
          Adam Gabryś
        2. scm-configuration.png
          59 kB
          Adam Gabryś

            lanwen Kirill Merkushev
            agabrys Adam Gabryś
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: