22
  1. 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?

  2. After getting check box how to configure (path of workspace)?

the swine
  • 10,713
  • 7
  • 58
  • 100
Sunil Rk
  • 999
  • 6
  • 12
  • 35

5 Answers5

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:

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: Use a root directory with <code>${ITEM_FULLNAME}</code> 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