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

TFS Plugin - Allow downloading the files with the repository date

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • tfs-plugin
    • Windows

      Hi

      I think a good improvement to the tfs plugin would be to add a checkbox to say: download the files and set the modified date to be the repository's. If deactivated, use the local date. This way if I do a download but only want to use those files modified since XX date, I can do it. Today if I do a "Use Update = false" or a new job using the same TFS workspace, then my build scripts would give me ALL files.

          [JENKINS-11950] TFS Plugin - Allow downloading the files with the repository date

          redsolo added a comment -

          I cant find any option on the TFS/TEE command line tool to do this. As the plugin rely on the command line tool to do the actual job of checking out code, i cant see any way to implement this properly in the plugin. Also this seems to be common problem with the TFS implementation.

          Sorry
          Regards Erik

          redsolo added a comment - I cant find any option on the TFS/TEE command line tool to do this. As the plugin rely on the command line tool to do the actual job of checking out code, i cant see any way to implement this properly in the plugin. Also this seems to be common problem with the TFS implementation. Sorry Regards Erik

          Since TEE-SDK-11.0 there is an Option SET_FILE_TO_CHECKIN in the WorkspaceOption.
          "Sets the last modified time for newly downloaded files to checkin time." (from help)

          This Option is  defined in  com.microsoft.tfs.core.clients.versioncontrol.WorkspaceOptions and will be used when create a Workspace.

          It would be fine if the improvement can be realized now.

          Michael Wietzke added a comment - Since TEE-SDK-11.0 there is an Option SET_FILE_TO_CHECKIN in the WorkspaceOption. "Sets the last modified time for newly downloaded files to checkin time." (from help) This Option is  defined in  com.microsoft.tfs.core.clients.versioncontrol.WorkspaceOptions and will be used when create a Workspace. It would be fine if the improvement can be realized now.

            redsolo redsolo
            katlimruiz Kat Lim Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: