Martin, while the envinject plugin will let you set environment variables that you might be able to use to point to some other folder than the job’s default workspace, you might be able to use the Use Custom Workspace option under Advanced Project Options:
For each job on Jenkins, Jenkins allocates a unique "workspace directory." This is the directory where the code is checked out and builds happen. Normally you should let Jenkins allocate and clean up workspace directories, but in several situations this is problematic, and in such case, this option lets you specify the workspace location manually.
One such situation is where paths are hard-coded and the code needs to be built on a specific location. While there's no doubt that such a build is not ideal, this option allows you to get going in such a situation.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/3c39a5e5-0df0-4756-bc43-f99430a44564%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Martin, while the envinject plugin will let you set environment variables that you might be able to use to point to some other folder than the job’s default workspace, you might be able to use the Use Custom Workspace option under Advanced Project Options: