You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-16215] Avoid unnecessary downloads in FilePath.installIfNecessaryFrom #13182
FilePath.installIfNecessaryFrom is used by the DownloadFromUrlInstaller when installing things like the JDK. The current implementation issues a regular GET request just to access the 'last modified' header. This also seems to be triggered per executor resulting in lots of stress on the server hosting the JDK zip/tar.gz.
FilePath.installIfNecessaryFrom is used by the DownloadFromUrlInstaller when installing things like the JDK. The current implementation issues a regular GET request just to access the 'last modified' header. This also seems to be triggered per executor resulting in lots of stress on the server hosting the JDK zip/tar.gz.
The updated version uses the locally cached timestamp, '.timestamp', to set the
'If-Modified-Since' header. 304 Not Modified responses are dealt with by
aborting the installation.
The updated version uses the locally cached timestamp, '.timestamp', to set the
'If-Modified-Since' header. 304 Not Modified responses are dealt with by
aborting the installation.
The updated version uses the locally cached timestamp, '.timestamp', to set the
'If-Modified-Since' header. 304 Not Modified responses are dealt with by
aborting the installation.
(cherry picked from commit 35f7653b7b28bb65b116f16282d9bea567405f61)
The updated version uses the locally cached timestamp, '.timestamp', to set the
'If-Modified-Since' header. 304 Not Modified responses are dealt with by
aborting the installation.
(cherry picked from commit 35f7653)
Activity
jenkins-infra-bot commentedon Dec 28, 2012
Raw content of original comment:
Fixed in #660.
jenkins-infra-bot commentedon Jan 20, 2013
Raw content of original comment:
Code changed in jenkins
User: Lars Hvile
Path:
core/src/main/java/hudson/FilePath.java
core/src/test/java/hudson/FilePathTest.java
http://jenkins-ci.org/commit/jenkins/35f7653b7b28bb65b116f16282d9bea567405f61
Log:
JENKINS-16215Avoiding unnecessary downloads in FilePath.installIfNecessaryFrom.The updated version uses the locally cached timestamp, '.timestamp', to set the
'If-Modified-Since' header. 304 Not Modified responses are dealt with by
aborting the installation.
jenkins-infra-bot commentedon Jan 20, 2013
Raw content of original comment:
Code changed in jenkins
User: Christoph Kutzinski
Path:
core/src/main/java/hudson/FilePath.java
core/src/test/java/hudson/FilePathTest.java
http://jenkins-ci.org/commit/jenkins/586af3c1ee910e99a50dde8d8b3e7aa68df06716
Log:
Merge pull request #660 from larshvile/master
[FIXED JENKINS-16215] Avoiding unnecessary downloads in FilePath.installIfNecessaryFrom
Compare: 6b1cc47...586af3c
jenkins-infra-bot commentedon Jan 20, 2013
Raw content of original comment:
Code changed in jenkins
User: Christoph Kutzinski
Path:
changelog.html
core/src/main/java/hudson/FilePath.java
http://jenkins-ci.org/commit/jenkins/19b31687c870bba50bb181c5d08486151b1839a9
Log:
JENKINS-16215: changelogjenkins-infra-bot commentedon Jan 20, 2013
Raw content of original comment:
Integrated in
jenkins_main_trunk #2202
JENKINS-16215Avoiding unnecessary downloads in FilePath.installIfNecessaryFrom. (Revision 35f7653)Result = SUCCESS
lars : 35f7653b7b28bb65b116f16282d9bea567405f61
Files :
jenkins-infra-bot commentedon Jan 20, 2013
Raw content of original comment:
Integrated in
jenkins_main_trunk #2203
JENKINS-16215: changelog (Revision 19b3168)Result = UNSTABLE
Christoph Kutzinski : 19b31687c870bba50bb181c5d08486151b1839a9
Files :
jenkins-infra-bot commentedon Jan 26, 2013
Raw content of original comment:
Code changed in jenkins
User: Lars Hvile
Path:
core/src/main/java/hudson/FilePath.java
core/src/test/java/hudson/FilePathTest.java
http://jenkins-ci.org/commit/jenkins/cae2f4d4a2f6d9c8c13cf50c46baeb63f45c4501
Log:
JENKINS-16215Avoiding unnecessary downloads in FilePath.installIfNecessaryFrom.The updated version uses the locally cached timestamp, '.timestamp', to set the
'If-Modified-Since' header. 304 Not Modified responses are dealt with by
aborting the installation.
(cherry picked from commit 35f7653)
Conflicts:
core/src/test/java/hudson/FilePathTest.java
jenkins-infra-bot commentedon Jan 26, 2013
Raw content of original comment:
Code changed in jenkins
User: Christoph Kutzinski
Path:
changelog.html
core/src/main/java/hudson/FilePath.java
http://jenkins-ci.org/commit/jenkins/15c37393910da8a76c8e2224486e9a0b2cf7528f
Log:
JENKINS-16215: changelog(cherry picked from commit 19b3168)Conflicts:
changelog.html