Hi Jason,

you can change the separator - called 'combinator' in the Jenkins sources - by setting a Java system property when launching Jenkins, e.g.

  java -Dhudson.slaves.WorkspaceList=ยง -jar jenkins.war

The combinator defaults to "@" when this system property is unset. BTW, from looking at the sources, the combinator does not have to be a single character. It is defined in https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/slaves/WorkspaceList.java#L265 .

Note that this is an undocumented feature and subject to change without prior notice - so use it at your own risk ;o)

Cheers,
Simon.
--
Jason Swager wrote (01.11.2012 02:54):
When marking a job as able to run concurrently on the same node, Jenkins
will append a @X (where X is the number of the concurrent build) to the
normal workspace directory to get a new, unique workspace directory.
  Normally, this is all fine and good, but we've encountered a couple
tools that cannot handle a @ in the path name even though the operating
system can.

Is there some way to change the @ character to something else?  Say
maybe a double underscore (__) or something?
Thanks,
Jason

Reply via email to