Closed hyrrot closed 9 years ago
I ran into this today too... I think that the fix is just to use SystemDefaultHttpClient instead of DefaultHttpClient in ConcreteHttpClientFactory.java, but I ran out of time to test (and won't be able to get back to this until mid-Jan)
Hello!
Could you please add some support for HTTP proxy to the add-on?
My Stash instance is used in the enterprise network and some destination Jenkins hosts should be accessed via an http proxy. I specify http proxy in Java system properties. (I add
-Dhttp.proxyHost=<proxy-hostname>
and-Dhttp.proxyPort=<proxy-port-number>
toJVM_SUPPORT_RECOMMENDED_ARGS
insetenv.sh
.) In my test I found Jenkins Webhook ignored those proxy configurations and it tried to send HTTP request directly to the Jenkins server.I would like all the requests by the add-on respect the config, or a new add-on config to toggle the behaviour of sending the trigger (via proxy / directly).