Как я могу заставить Гудзон обновлять через Прокси

Мы выполняем корпоративный прокси с аутентификацией, и мы выполняем Гудзон как нашу платформу CI. Гудзон может добраться до внешнего мира для сообщения, каким плагинам нужно обновление, но когда мы говорим Гудзону загружать обновления плагинов, мы получаем следующую ошибку.

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

Кто-либо знает, как я могу настроить Гудзон или наш JRE или безотносительно конфигурирования потребностей, чтобы позволить Гудзону обновлять через GUI? Уверенный мы можем загрузить обновления вручную, но это становится раздражающим через некоторое время.

В настоящее время нам устанавливали Гудзон как услуга на Windows Server 2008 и его использование созданного в сервере, который шел с Гудзоном для хостинга его. Кроме того, я установил конфигурацию прокси через вкладку "Advanced"

10
задан Allen Rice 29 December 2009 в 16:55
поделиться

1 ответ

Две вещи, которые нужно сделать

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

Вы можете настроить свойства, используя синтаксис -Dproperty.name=some.value при запуске hudson.

.
12
ответ дан 4 December 2019 в 00:25
поделиться
Другие вопросы по тегам:

Похожие вопросы: