Jenkins与Github和OAuth在登录时重定向循环

Tra*_*ebb 3 hudson oauth github github-api jenkins

我已成功设置Jenkins从我的私有github仓库中取出并构建我的项目,运行测试等.我现在想要做的是当我推动掌握时自动构建.

我已经安装了Github OAuth插件并通过Github进行设置,但是当我登录时,Jenkins陷入了重定向循环.

我在Github中注册了一个新的应用程序并设置了以下值;

Name: Jenkins
URL: http://myServer:8080
Callback URL: http://myServer:8080
Run Code Online (Sandbox Code Playgroud)

我在任何文档中都找不到"回调URL"的正确值.这是为什么它重定向?

Tra*_*ebb 7

终于找到了:

使回调网址如下:http://myserver.com: 8080/securityRealm/finishLogin