mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 11:06:25 +00:00
[JENKINS-5271] https wants to join the party
This commit is contained in:
1 parent
9207c21f37
commit
beb166680e
2 files changed
+4
-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") ? ProxyConfiguration.getInputStream(archive) : con.getInputStream();
|
||||
InputStream in = archive.getProtocol().startsWith("http") ? ProxyConfiguration.getInputStream(archive) : con.getInputStream();
|
||||
CountingInputStream cis = new CountingInputStream(in);
|
||||
try {
|
||||
if(archive.toExternalForm().endsWith(".zip"))
|
||||
|
||||
Reference in new issue
Block a user