On Wednesday, May 15, 2013 9:23:23 AM UTC-4, spacegoose wrote: > > I am trying to trigger Jenkins builds from commits to a private GitHub > repository. It only works when the the cross site scripting protection in > Jenkins is turned off. > > Is there some way I can keep the cross site scripting protection setting > on and get the GitHub webhook to work? The error with it on is a 403 / no > valid crumb. > > Can I use a crumb in the webhook URL? > > Thanks, > Bill >
We ended up installing the GitHub plugin on Jenkins and it works, seemingly magically, w/o any authentication credentials specified, other than the Jenkins project specifying the GitHub repo & branch, and the GitHub webhook specifying the generic Jenkins /github-webhook/ URL on our Jenkins instance. I looked in the Jenkins (1.514) config settings and didn't see any GItHub specific credentials. We do have a special GitHub user with pull access to this repo, and it is setup with SSH keys to talk to our Jenkins (maybe this has something to do with it working?). -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
