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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          dogfood 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
          Show
          dogfood 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
          Hide
          cbos Cees Bos added a comment -

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

          Show
          cbos Cees Bos added a comment - Thanks for the really fast resolution (within 3 hours)!
          Hide
          cbos 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.

          Show
          cbos 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.
          Hide
          sogabe sogabe added a comment -

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

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

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

          Show
          cbos Cees Bos added a comment - Ok, I overlooked that. I thought it was fixed in 1.456. Apologize.
          Hide
          dogfood 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
          Show
          dogfood 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: