mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 12:35:19 +00:00
[FIXED JENKINS-5271] Tools download does not appear to respect proxy settings.
This commit is contained in:
1 parent
ce7300cdf6
commit
9207c21f37
2 files changed
+27
-1
No files matched your search
@@ -655,7 +655,7 @@ public final class FilePath implements Serializable {
|
||||
listener.getLogger().println(message);
|
||||
|
||||
// for HTTP downloads, enable automatic retry for added resilience
|
||||
InputStream in = archive.getProtocol().equals("http") ? new RetryableHttpStream(archive) : con.getInputStream();
|
||||
InputStream in = archive.getProtocol().equals("http") ? ProxyConfiguration.getInputStream(archive) : con.getInputStream();
|
||||
CountingInputStream cis = new CountingInputStream(in);
|
||||
try {
|
||||
if(archive.toExternalForm().endsWith(".zip"))
|
||||
|
||||
Reference in new issue
Block a user