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

Additional options for tfs plugin such as overwrite and forced

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • tfs-plugin
    • None
    • Windows, TFS 2008

      Our projects have a nested directory structure and builds scripts perform actions on artifacts not located under the project directory. If I don't have update selected the already defined workspace will be deleted and and the one created by hudson will point further down in our directory structure and prevent operations on artifacts higher in our directory structure.

      Having update checked works but if a file has an unexpected status such as writeable the new version will not be retrived to disk on build server. Specifing the options /overwrite and /forced in the tf get command will cause the file to be retrieved. With these options we could be more confident that the build is done with the intended content.

      I'm don't have much experience with Java but it seems as adding these options should be fairly simple. I will take a look at the tutorials tomorrow but if anyone has any pointers or good advice it will be appriciated.

      Thanks for a nice product

            dastahel David Staheli
            k0de k0de
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: