I am not getting the check box to select custom workspace in Jenkins(ver. 1.465) while configuring the job, is there any plugin to get it?
After getting check box how to configure (path of workspace)?
Asked
Active
Viewed 9.8k times
22
-
1In 2017, the correct answer is here - https://stackoverflow.com/a/47271867/209406 – Anton K Dec 06 '17 at 23:59
5 Answers
16
I had the same problem. For a maven build, the option "Use custom workspace" is in Build Section ("Advanced" button)

Emil Salageanu
- 997
- 1
- 10
- 24
13
in the general tab, when you go to the "advanced options" , you will see the "custom workspace" option

Balajee Addanki
- 690
- 2
- 9
- 23

purav
- 131
- 1
- 2
6
A couple of images to clarify how to configure a custom workspace directory.
The "Advanced" button to click to show the "Workspace Root Directory" option:
Use a root directory with ${ITEM_FULLNAME}
to put your projects' workspaces under a custom directory:

mikhail_b
- 930
- 9
- 10
3
Maybe this answer comes a little bit too late but, anyway:
- Jenkins v2.13, works on v1.652
- Maven project
- Build section
- Click on Advanced button on the right side of the page
- Check "Use custom workspace"
- Fill in the path to the desired folder
Supports parameters too: ${SVN_BRANCH}

coz
- 445
- 8
- 14
2
If you want to use custom workspace choose freestyle or multi-configuration option, Custom workspace option is not supported in maven-project(From new item)

Mayank Raipure
- 1,773
- 15
- 12