How to change parallel assembly path separator in Jenkins

When marking a job that can run simultaneously on the same node, Jenkins will add @X (where X is the number of the parallel assembly) to the normal workspace directory to get a new unique workspace directory. This is usually all good and good, but we come across several tools that cannot handle @ in the path name, even if the operating system can.

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

+9
source share
2 answers

This topic may help: http://jenkins.361315.n4.nabble.com/Concurrent-executions-and-workspace-names-td4631221.html

... I can do this with a system property. I believe that -Dhudson.slaves.WorkspaceList = "=" will do the trick.

Using https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin The Throttle Parallel Assembly plugin can also help.

+2
source

As I am not allowed to comment on Fox, the answer here is my modified answer to his

use -Dhudson.slaves.WorkspaceList==

otherwise it will build the project in [JENKINS] / workspace / myProject "=" 2

+2
source

All Articles