Issue
When running Pipeline Multibranch projects on a Jenkins controller or agent on Windows, you may see this or similar errors:
"The path is too long after being fully qualified. Make sure the full path is less than 260 characters and the directory name is less than 248 characters."
Pipeline Multibranch jobs need to create a unique path for each workspace, and to do this Jenkins used to generate a hash to give a random value for each one. This would often exceed Windows’s filesystem character limit. A fix for this issue was added to the Branch API plugin.
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
-
CloudBees Jenkins Enterprise
-
CloudBees Jenkins Enterprise - Managed controller
-
CloudBees Jenkins Enterprise - Operations center