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

TFS Plugin - Allow downloading the files with the repository date

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: tfs-plugin
    • Labels:
    • Environment:
      Windows
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          br_michael 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.

          Show
          br_michael 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.
          Hide
          redsolo 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

          Show
          redsolo 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

            People

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

              Dates

              Created:
              Updated: