-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: http-request-plugin
-
None
-
Environment:Jenkins 1.590, http_request 1.8.5
HTP Request plugin can not connect if the Jenkins is behind a proxy.
I attached a patch that solves this bug. This solution uses the http client SystemDefaultHttpClient instead of using the DefaultHttpClient. This class use the system properties to configure a proxy as described in https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html.