Configuration 如何让哈德逊通过代理更新

Configuration 如何让哈德逊通过代理更新,configuration,proxy,continuous-integration,hudson,Configuration,Proxy,Continuous Integration,Hudson,我们运行一个带有身份验证的公司代理,我们运行Hudson作为我们的CI平台。Hudson可以到外部世界去告诉哪些插件需要更新,但是当我们告诉Hudson将更新下载到插件时,我们得到了以下错误 java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to

我们运行一个带有身份验证的公司代理,我们运行Hudson作为我们的CI平台。Hudson可以到外部世界去告诉哪些插件需要更新,但是当我们告诉Hudson将更新下载到插件时,我们得到了以下错误

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.  )"
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:603)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:812)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.  )"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.URLConnection.getHeaderFieldInt(Unknown Source)
at java.net.URLConnection.getContentLength(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:602)
... 7 more
有人知道我如何配置Hudson或我们的JRE或任何需要配置的东西,以允许Hudson通过GUI进行更新吗?当然,我们可以手动下载更新,但过一段时间后,这会让人恼火

目前,我们已经在windows server 2008上安装了Hudson作为服务,并使用Hudson附带的内置服务器来托管它。此外,我还通过“高级”选项卡设置了代理配置

1.  Pop over into the plugin manager and select advanced, enter the settings in there
2.  Set the properties of the JRE http://java.sun.com/javase/6/docs/technotes/guides/net/properties.html

启动hudson时,可以使用-Dproperty.name=some.value语法设置属性。

唉,我在代理配置中设置了domain\\username。将其更改为domain\username后,它现在可以工作了。这仍然是一个有效的问题/答案,所以我很乐意接受,再次感谢。