kohsuke/github-api — pull request #33 by watsonian (2013-04-19 23:32:47+00:00)
Title: Stop using deprecated API tokens for Enterprise

Authentication by API token is deprecated and doesn't work anymore. Instead, authentication should be done via OAuth token now. This is causing the GitHub plugin to fail when trying to setup Jenkins to auto-manage web hooks and will just be breaking in general for anyone trying to use this with Enterprise.

I'm not much of a Java guy, so I'd appreciate a look over this to make sure it works.