Bertrand Latinville edited a comment on Improvement JENKINS-17994

It is possible to get a workspace per executor using "custom workspace" from "Advanced Project Options" of the job configuration,
using the variable EXECUTOR_NUMBER.

For a non matrix job :
set "Directory" to something like "workspace/EXEC_${EXECUTOR_NUMBER}/build"

For a matrix job :
set "Directory" to something like "workspace/EXEC_${EXECUTOR_NUMBER}/"
set "Directory for sub-builds" to "build"

You will get a workspace per executor : "workspace/EXEC_0/build.

For the parent job of a matrix build, the workspace will be "workspace/EXEC_-1/build", but it is not an issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to