Jenkins插件与代理

Pri*_*ncy 5 proxy jenkins-plugins

我有一个Jenkins CI,配置如下:

  • 开放SUSE上的Tomcat [openSUSE 13.1(x86_64)] [Jenkins v1.532.3]
  • Java版"1.7.0_51"[OpenJDK运行时环境(IcedTea 2.4.4)(suse-24.13.5-x86_64)].

我很肯定我的代理配置正确.但是当我尝试下载插件或更新Jenkins上的插件时.我收到这个错误

    Git Client Plugin   
     Failure -
    hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/git-client/1.8.1/git-client.hpi
        at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:794)
        .
        .
Caused by: java.net.ProtocolException: Server redirected too many  times (20)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        .
        .
        .
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:764)
    ... 7 more
Caused by: java.net.ProtocolException: Server redirected too many  times (20)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1636)
Run Code Online (Sandbox Code Playgroud)

但是我可以对实际的URL/URI进行Curl或wget来下载插件

感谢您的帮助和反馈

小智 0

我不认为这仍然相关,但可能对其他人有帮助。

我更改密码后也遇到了类似的问题。我检查了不同的代理,每次都有同样的问题。现在我再次更改了密码以拥有更多标准符号,问题立即消失了。

看来,有时密码中的某些特殊字符可能会出现一些问题。

希望这可以帮助别人。

最好的问候,维亚切斯拉夫