mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-05 16:15:54 +00:00
[FIXED HUDSON-5271] in 1.342. Automatic tool installation wasn't honoring proxy setting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25811 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
b6fbebe9ea
commit
29cdfb670d
6 files changed
+16
-6
No files matched your search
@@ -105,6 +105,9 @@ public final class ProxyConfiguration implements Saveable {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method should be used wherever {@link URL#openConnection()} to internet URLs is invoked directly.
|
||||
*/
|
||||
public static URLConnection open(URL url) throws IOException {
|
||||
ProxyConfiguration p = Hudson.getInstance().proxy;
|
||||
if(p==null)
|
||||
|
||||
Reference in new issue
Block a user