Brad McManus created JENKINS-12790:
--------------------------------------
Summary: [Git Plugin] Post-receive hook fails because it claims to
require authentication, why?
Key: JENKINS-12790
URL: https://issues.jenkins-ci.org/browse/JENKINS-12790
Project: Jenkins
Issue Type: Bug
Components: git, plugin
Environment: iMac Server
Reporter: Brad McManus
Assignee: abayer
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!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira