From 19b31687c870bba50bb181c5d08486151b1839a9 Mon Sep 17 00:00:00 2001 From: Christoph Kutzinski Date: Sun, 20 Jan 2013 13:40:54 +0100 Subject: [PATCH] [JENKINS-16215] : changelog --- changelog.html | 3 +++ core/src/main/java/hudson/FilePath.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/changelog.html b/changelog.html index aa9f431c18..71f9f5a913 100644 --- a/changelog.html +++ b/changelog.html @@ -74,6 +74,9 @@ Upcoming changes
  • Accept any plugin with a 'test' goal as a test plugin in Maven jobs (issue 8334) +
  • + Avoid unnecessary downloads if automatically installed tools are up-to-date + (issue 16215) diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java index 9bdfab31a4..e0b6dca298 100644 --- a/core/src/main/java/hudson/FilePath.java +++ b/core/src/main/java/hudson/FilePath.java @@ -727,8 +727,8 @@ public final class FilePath implements Serializable { try { if(archive.toExternalForm().endsWith(".zip")) unzipFrom(cis); - else - untarFrom(cis,GZIP); + else + untarFrom(cis,GZIP); } catch (IOException e) { throw new IOException2(String.format("Failed to unpack %s (%d bytes read of total %d)", archive,cis.getByteCount(),con.getContentLength()),e); -- GitLab