Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13122

Last modification date of files in a zip are not the original timestamps

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      When do have archiving for a build, then the files on the master have the original timestamps of the file (same as on the slave).
      But when you download it in a zip with '(all files in zip)' then the last modification date of file is the datetime of that moment, instead of original.

      We have a job which archives a number of logfiles. Normally you can order it on datetime to get the last logfile, but when you download it in a zip ordering is impossible.

          [JENKINS-13122] Last modification date of files in a zip are not the original timestamps

          Code changed in jenkins
          User: Seiji Sogabe
          Path:
          changelog.html
          core/src/main/java/hudson/util/io/ZipArchiver.java
          http://jenkins-ci.org/commit/jenkins/3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d
          Log:
          [FIXED JENKINS-13122] Last modification date of files in a zip are not the original timestamps

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: changelog.html core/src/main/java/hudson/util/io/ZipArchiver.java http://jenkins-ci.org/commit/jenkins/3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d Log: [FIXED JENKINS-13122] Last modification date of files in a zip are not the original timestamps

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1596
          [FIXED JENKINS-13122] Last modification date of files in a zip are not the original timestamps (Revision 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d)

          Result = SUCCESS
          Seiji Sogabe : 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d
          Files :

          • core/src/main/java/hudson/util/io/ZipArchiver.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1596 [FIXED JENKINS-13122] Last modification date of files in a zip are not the original timestamps (Revision 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d) Result = SUCCESS Seiji Sogabe : 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d Files : core/src/main/java/hudson/util/io/ZipArchiver.java changelog.html

          Cees Bos added a comment -

          Thanks for the really fast resolution (within 3 hours)!

          Cees Bos added a comment - Thanks for the really fast resolution (within 3 hours)!

          Cees Bos added a comment -

          I tested it with build 1.456, but the files in the zip all has the data + time of the moment I downloaded the zip.

          Cees Bos added a comment - I tested it with build 1.456, but the files in the zip all has the data + time of the moment I downloaded the zip.

          sogabe added a comment -

          See http://jenkins-ci.org/changelog
          This will be fixed in 1.457.

          sogabe added a comment - See http://jenkins-ci.org/changelog This will be fixed in 1.457.

          Cees Bos added a comment -

          Ok, I overlooked that. I thought it was fixed in 1.456. Apologize.

          Cees Bos added a comment - Ok, I overlooked that. I thought it was fixed in 1.456. Apologize.

          dogfood added a comment -

          Integrated in jenkins_ui-changes_branch #21
          [FIXED JENKINS-13122] Last modification date of files in a zip are not the original timestamps (Revision 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d)

          Result = SUCCESS
          Seiji Sogabe : 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d
          Files :

          • core/src/main/java/hudson/util/io/ZipArchiver.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_ui-changes_branch #21 [FIXED JENKINS-13122] Last modification date of files in a zip are not the original timestamps (Revision 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d) Result = SUCCESS Seiji Sogabe : 3ddd6bfc2bbfc8e2d4e6f6e22f00b32fb623843d Files : core/src/main/java/hudson/util/io/ZipArchiver.java changelog.html

            sogabe sogabe
            cbos Cees Bos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: