Jenkins Proxy Plugin

I have a JI Jenkins CI with the following configuration:

  • Tomcat on Open SUSE [openSUSE 13.1 (x86_64)] [Jenkins v1.532.3]
  • The Java version is "1.7.0_51" [OpenJDK Runtime Environment (IcedTea 2.4.4) (suse-24.13.5-x86_64)].

I am sure that I have correctly configured my proxy. But when I try to download the plugin or update the plugin on Jenkins. I get this error

    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)

But I can do Curl or wget for the actual URL / URI to load the plugin

Thanks for your help and feedback.

+4
source share

Source: https://habr.com/ru/post/1539660/


All Articles