In the past when I had issues with "the file name is too long", it was a 
Windows operating system limitation, not a Jenkins limitation.

Our work around was to place the Jenkins home directory in the C:\J directory.  
You might save one more letter by using "SUBST" to define a drive J:\ and place 
the Jenkins home directory in that location.

http://joe-re.blogspot.com/2012/09/jenkins-file-name-too-long.html offers 
another alternative


Mark Waite



>________________________________
> From: Jason Zhang <qzhja...@gmail.com>
>To: jenkinsci-users@googlegroups.com 
>Sent: Thursday, January 10, 2013 1:04 PM
>Subject: Jenkins failed to sync from Perforce due to long file name
> 
>
>Hi,
>
>We're running one Jenkins 1.498 instance on Windows 7 and got the error "The
>file name is too long." on some files due to the complexity of our project
>structures. We can't change the project structures. I just wonder if there
>is any JVM option to handle this?
>
>Thanks.
>Jason
>
>
>

Reply via email to