A useful feature for developers in our group would be the addition of timestamps (i.e. modified date) for the files and folders listed in the Workspace view for jobs. As it stands now, we have to remote desktop into the server and browse to the workspace folder to get the timestamps for artifacts.

          [JENKINS-20998] Add Timestamp to Workspace View

          Are you talking about the artifact view of a project?

          martin naughton added a comment - Are you talking about the artifact view of a project?

          Chris Bush added a comment - - edited

          See the attached screenshot for where I'm talking about. On the workspace page, next to each file it should have a timestamp.

          Chris Bush added a comment - - edited See the attached screenshot for where I'm talking about. On the workspace page, next to each file it should have a timestamp.

          A patch has been submitted to the dev-list [1], but the developer has no JIRA or GitHub account. Just in case someone here is willing to test the patch, provide some feedback and submit a PR. Cheers, Bruno.

          [1] https://groups.google.com/forum/#!topic/jenkinsci-dev/cr_ZpR2EMlw

          Bruno P. Kinoshita added a comment - A patch has been submitted to the dev-list [1] , but the developer has no JIRA or GitHub account. Just in case someone here is willing to test the patch, provide some feedback and submit a PR. Cheers, Bruno. [1] https://groups.google.com/forum/#!topic/jenkinsci-dev/cr_ZpR2EMlw

          I modified the path to be applied to the last version of the core.

          To test it manually you have to follow these steps:

          • Create a FreeStyleJob Job with a simple shell script step "echo 'hello world' > file.txt"
          • Execute it once.
          • Check that you can see the timestamp on the workspace.

           

          Ivan Fernandez Calvo added a comment - I modified the path to be applied to the last version of the core. To test it manually you have to follow these steps: Create a FreeStyleJob Job with a simple shell script step "echo 'hello world' > file.txt" Execute it once. Check that you can see the timestamp on the workspace.  

          Code changed in jenkins
          User: Ivan Fernandez Calvo
          Path:
          core/src/main/java/hudson/model/DirectoryBrowserSupport.java
          core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly
          http://jenkins-ci.org/commit/jenkins/24ea6846150a5a5dc6882a7a4c0bb3c7084dbbae
          Log:
          JENKINS-20998 Add Timestamp to Workspace View (#3079)

          • Add Timestamp to Workspace View
          • suggested changes
            javadoc
          • suggested changes
            control on dates before 1970-01-01 00:00
          • constructor suggestions, I18N
          • revert to N/A but in I18N

          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Fernandez Calvo Path: core/src/main/java/hudson/model/DirectoryBrowserSupport.java core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly http://jenkins-ci.org/commit/jenkins/24ea6846150a5a5dc6882a7a4c0bb3c7084dbbae Log: JENKINS-20998 Add Timestamp to Workspace View (#3079) Add Timestamp to Workspace View suggested changes javadoc suggested changes control on dates before 1970-01-01 00:00 constructor suggestions, I18N revert to N/A but in I18N * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.

          Oleg Nenashev added a comment -

          Fixed in Remoting 3.21 and Jenkins 2.127

          Oleg Nenashev added a comment - Fixed in Remoting 3.21 and Jenkins 2.127

            ifernandezcalvo Ivan Fernandez Calvo
            cjbush Chris Bush
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: