Thanks for the info everyone. I was able to temporarily fix by setting custom workspace path like suggested. I will look into the additional resources to see how we can solve this on a more system level.
Thanks! On Friday, January 29, 2016 at 11:06:12 AM UTC-5, Patrick Hummer wrote: > > Hi, > > We currently are running Jenkins on a Windows Server box and a couple of > our projects are getting the "Path too long" error. I realize this is a > limitation of Windows but from looking around there are a couple options to > get around this in Jenkins. > > The one we are trying is the short-workspace-path-plugin > <https://wiki.jenkins-ci.org/display/JENKINS/Short+Workspace+Path+Plugin>. > By default the system property for BUILD_PATH_LENGTH in this plugin is set > to 512. I was able to modify this property via the Jenkins.xml file and > have verified that the value is being set. We set the value below the > Windows maximum path length however we are still receiving an error. > > The error in our build we are seeing: > > Error: 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. > > > The system property value we are setting it is: > > -Dorg.jenkinsci.plugins.shortwspath.BUILD_PATH_LENGTH=248 > > And as seen in the "System Information" section: > > > <https://lh3.googleusercontent.com/-lbG8WTJcUEo/VquM2HCMmFI/AAAAAAAAMfY/rze4X80ptw4/s1600/Screenshot_012916_110220_AM.jpg> > > <https://lh3.googleusercontent.com/-lbG8WTJcUEo/VquM2HCMmFI/AAAAAAAAMfY/rze4X80ptw4/s1600/Screenshot_012916_110220_AM.jpg> > > > > > > > > > > > > Any direction would be greatly appreciated. > > Thank you, > Patrick > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/79e7fb4e-507e-46c1-80de-b3d1ab556f39%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.