How to change path to workspaces to not use '@' character?

109 views
Skip to first unread message

bbyjenkns

unread,
Aug 17, 2017, 11:25:07 PM8/17/17
to Jenkins Users
How can I change the path to my workspaces to use a character other than '@' in the dir name? I cannot use any special chars in my paths due to some scripts that cannot handle the @ and need to use absolute paths to the workspace root. Any ideas? I'm using pipeline if it matters.

Victor Martinez

unread,
Aug 18, 2017, 3:42:47 AM8/18/17
to Jenkins Users
Hey

hudson.slaves.WorkspaceList



Cheers

bbyjenkns

unread,
Aug 18, 2017, 8:51:45 AM8/18/17
to Jenkins Users
That link is dead, but I had done some googling and looked at the jenkins source last night... -Dhudsonslaves.WorkspaceList=# will change the character to be #. It can be multiple characters as well. 

Thanks!

Victor Martinez

unread,
Aug 18, 2017, 9:02:54 AM8/18/17
to Jenkins Users
Cool, although I can open that link though
Reply all
Reply to author
Forward
0 new messages