Trouble with long workspace names

275 views
Skip to first unread message

Brian Powell

unread,
Apr 13, 2017, 1:18:20 PM4/13/17
to Jenkins Users
I have been running into an issue that looks like it has been brought up before (https://issues.jenkins-ci.org/browse/JENKINS-38706). I am running Jenkins my Jenkins master and clients on Server 2012, and when Jenkins creates the workspaces it attaches a long string to the name ( ie. game-of-life-demo_master-FUA2SINOGRGRQSUALNXIZZS4LYTKWGDSYAC5B6HOU4LGPRCODDHA) , which causes my build to fail in MSBUILD bc of the character limit. Has anyone run into or successfully resolved this in a Windows environment? Any direction would be great, thanks!

Richard Ginga

unread,
Apr 13, 2017, 1:22:57 PM4/13/17
to jenkins...@googlegroups.com
the workaround suggested: -Djenkins.branch.WorkspaceLocatorImpl.PATH_MAX=0, did not work for me so I just don't use the multi-branch plugin

On Thu, Apr 13, 2017 at 1:18 PM, Brian Powell <bri4n....@gmail.com> wrote:
I have been running into an issue that looks like it has been brought up before (https://issues.jenkins-ci.org/browse/JENKINS-38706). I am running Jenkins my Jenkins master and clients on Server 2012, and when Jenkins creates the workspaces it attaches a long string to the name ( ie. game-of-life-demo_master-FUA2SINOGRGRQSUALNXIZZS4LYTKWGDSYAC5B6HOU4LGPRCODDHA) , which causes my build to fail in MSBUILD bc of the character limit. Has anyone run into or successfully resolved this in a Windows environment? Any direction would be great, thanks!

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d1ecc045-af94-4aa1-bc73-7e1ea5334df6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dick Ginga
Build Engineer

Reply all
Reply to author
Forward
0 new messages