|
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
|
|
On 10/31/2012 09:54 PM, Jason Swager wrote:
> Is there some way to change the @ character to something else? Not an answer to your question, but I seem to recall another conversation (or JIRA ticket?) requesting a way to set a different basename. (You can already set a custom workspace directory for a project but this then overrides the @nnn convention.) |
|
In reply to this post by Jason Swager
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 |
|
Thank you! I'll give this a try.
On Friday, November 2, 2012 2:43:20 AM UTC-7, Simon Wiest wrote: Hi Jason, |
| Powered by Nabble | Edit this page |
