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

TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • tfs-plugin
    • Jenkins 2.0 docker version

      When I try to get a branch, Im getting an TFS Java SDK Exception:

      Caused by: com.microsoft.tfs.core.exceptions.TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
      

      In the oldest version of plugin, using the command line client with Jenkins 1.x, I have experienced the same problem, but a hint given by the error show me that there is a solution:

      An error occurred: TF400951: The operation failed. You must use Visual Studio 2012 Update 1 or a later version to work with paths that are longer than 259 characters
      

      I already have this issue with eclipse TFS plugin. The newest version of that plugin resolved this problem.

      I think that, maybe, the SDK must be updated from 14.0.2 to 14.0.3.

          [JENKINS-35408] TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

          Luisa Marvin added a comment -

          Long Path Tool can help you to remove blocked files or too long path files. You can easily fix file errors with this software.

          Luisa Marvin added a comment - Long Path Tool can help you to remove blocked files or too long path files. You can easily fix file errors with this software.

          Scott Brenner added a comment -

          Any resolution for this?

          Scott Brenner added a comment - Any resolution for this?

          Kellie Jos added a comment -

          Thank you for using the tfs-plugin. It appears that your issue was found in an older version of the plugin. There have been a number of improvements made in the recent releases that may have resolved your issue. Please update to the most recent 5.126.0 release. If your issue persists, please open a new ticket and we will investigate.

          Kellie Jos added a comment - Thank you for using the tfs-plugin. It appears that your issue was found in an older version of the plugin. There have been a number of improvements made in the recent releases that may have resolved your issue. Please update to the most recent 5.126.0 release. If your issue persists, please open a new ticket and we will investigate.

            redsolo redsolo
            alexandresneto Alexandre Silveira
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: