Skip to content
Permalink
Browse files
[JENKINS-5271] https wants to join the party
  • Loading branch information
kohsuke committed Sep 18, 2011
1 parent 9207c21 commit beb166680e9320e2aa05aa44567345fca912b570
Showing with 4 additions and 1 deletion.
  1. +3 −0 changelog.html
  2. +1 −1 core/src/main/java/hudson/FilePath.java
@@ -55,6 +55,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=bug>
Tools download does not respect proxy settings
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-5271">issue 5271</a>)
<li class=bug>
Recover from a corrupted JSON update data file automatically
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-7034">issue 7034</a>)
@@ -655,7 +655,7 @@ public boolean installIfNecessaryFrom(URL archive, TaskListener listener, String
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"))

0 comments on commit beb1666

Please sign in to comment.