I have master/slave setup, and my project has the ability to execute builds in parallel, i.e. I have 'Execute concurrent builds if necessary' option turned on.
But when I'm trying to inject any environment variables into my job ( 'Inject environment variables to the build process' option ), then the $WORKSPACE variable is NOT defined properly for parallel builds.
They should be
But $WORKSPACE always points to
for all job runs.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Kohsuke Kawaguchi [ kohsuke ]||gbois [ gbois ]|
|Resolution||Fixed [ 1 ]|
|Component/s||core [ 15593 ]|
|Component/s||concurrent-build [ 15628 ]|
|Workflow||JNJira [ 143161 ]||JNJira + In-Review [ 190417 ]|