On Mon, Apr 07, 2014 at 03:35:03PM -0700, Jonathan Cope wrote: > Github webhooks can't access the webhook url when security is enabled, > preventing the build job from being activated.
Sounds familiar. https://issues.jenkins-ci.org/browse/JENKINS-20140? > The issue starts immediately upon enabling security but the jobs that > pull from github repos can still be run manually from the CI server > and will succeed. With security turned off, there's no issue....other > than having zero security. > > Sec. Settings: > -Security Realm: Jenkins’ own user database + Allow Users to sign up > -Authorization: Matrix-based security > > Git Response Error: > > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> > <title>Error 404 Not Found</title> > </head> > <body><h2>HTTP ERROR 404</h2> > <p>Problem accessing /job/my-job/build. Reason: > <pre> Not Found</pre></p><hr /><i><small>Powered by > Jetty://</small></i><br/> Hm, the error I linked to returns 403, IIRC. > I've been poking around the settings for a while now but haven't turned up > anything that looks suspicious. I use Jenkins 1.558 with matrix-based security enabled. GitHub webhook plugin works fine, once I turned off CSRF prevention. My security matrix grants Overall and Job Read to Anonymous. Marius Gedminas -- "question = (to) ? be : !be;" -- Shakespeare
signature.asc
Description: Digital signature
