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.
-Dorg.jenkinsci.plugins.shortwspath.BUILD_PATH_LENGTH=248
There are 2 ways to make the resultant workspace path shorter. The path is made up of the workspace root and your source code structure.
1. Change the “Workspace Root Directory” under System Configuration. My windows master workspace resolves to: C:\Program Files (x86)\Jenkins\jobs\JOBNAME\workspace. But I do very, very little building on the master.
2. In some SCM’s you can change the mapping to eliminate common root folders. We use Perforce and I could map:
//depot/aaa/bbb/ccc/ddd/eee/ProjA/… //workspace/ProjA/…
--
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-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/6cbee678-9f67-49d1-9523-d270e0bf0555%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
\\?\c:\dir\file
" ? (https://serverfault.com/questions/163419/window-256-characters-path-name-limitation) I've never tried it...