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

[Git Plugin] Post-receive hook fails because it claims to require authentication, why?

      I am attempting to set up the post-receive hook for triggering builds upon Git repository push. Unfortunately, it is not behaving as expected. I follow the directions specified at https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin under the 'Push Notification from repository' header. Any attempt to execute this HTTP command fails with a "Authentication required" or redirect to login page. I am under the impression from this doc that authentication is not required. Why is it behaving this way? Did I fail to read the docs correctly, or is this a bug? Additionally I have tried selecting the "Trigger builds remotely e.g. from scripts" method which has slightly different syntax, requiring a slightly different URL and token. This method, too, fails claiming to require authentication.

      I would really like to trigger builds from the post-receive hook, any help is appreciated! Thanks!

      Note: I am using Jenkins 1.442 and Git Plugin 1.1.15

            abayer Andrew Bayer
            btmcm Brad McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: