Pages

Thursday, September 13, 2012

Jenkins file name too long

Issue : Filename is too long exception on Jenkins,

Solution:
  • Usually we face the issue while sync the perforce client on windows box. if the file name char size exceeds 255 char, we get this exception.
  • On Jenkins go to NODE -> Configure -> Reduce the REMOTE FS ROOT path
(OR)
  • On Jenkins configure ->Advanced Project Options -> Use custom workspace (Enable) ->  Directory (Mention a small name)
(OR)
  • Disable  "Let Jenkins Create Workspace" & "Let Jenkins Manage Workspace View"
  • Modify the Client spec.

3 comments:

  1. I have download Long Path Tool and it is the best solution of your problem.

    ReplyDelete
  2. I like and suggest you to try LongPathTool program. It is very helpful for copying/deleting or renaming long path files.

    ReplyDelete
  3. "Long path tool" is popular program software. Sometimes you get an error when trying to move, delete, or copy directories where the character count for the file path is more than 260.

    ReplyDelete