Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom workspace in jenkins

Tags:

  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)?

like image 445
Sunil Rk Avatar asked Dec 12 '13 07:12

Sunil Rk


People also ask

How do I create a custom workspace in Jenkins?

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.

How do I specify Jenkins workspace?

So if you wish to change the Jenkins workspace, all you've do is change the path of your JENKINS_HOME. For slave nodes, specify the default workspace on the slave machine in the slave configuration under Manage Jenkins > Manage Nodes > > Configure > Remote FS root.

What are workspaces in Jenkins?

The workspace directory is where Jenkins builds your project: it contains the source code Jenkins checks out, plus any files generated by the build itself. This workspace is reused for each successive build.


1 Answers

I had the same problem. For a maven build, the option "Use custom workspace" is in Build Section ("Advanced" button)

like image 106
Emil Salageanu Avatar answered Sep 30 '22 12:09

Emil Salageanu