Changing Jenkins workspace

0 votes
How do I change my Jenkins workspace?
May 15, 2019 in Jenkins by Olly
13,063 views

1 answer to this question.

0 votes

By default, your Jenkins workspace would be the one mentioned in JENKINS_HOME. You need to make sure that is owned by the user you specify in JENKINS_USER to have Jenkins access file. 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. Again, this should have read/write/execute permissions for the JENKINS_USER user.

answered May 15, 2019 by Kapil

Related Questions In Jenkins

0 votes
1 answer

Jenkins Pipeline Wipe Out Workspace

You should probably put it in a post-built-step ...READ MORE

answered Aug 6, 2018 in Jenkins by Kalgi
• 52,370 points
7,829 views
0 votes
1 answer

Empty Jenkins Workspace causing Jenkins build failure

/tmp/hudson3579240812233061648.sh: line 3: cd: /jenkins/workspace/completeness_compiler_runtime_tests/TPS/qel/automation/tools The error is ...READ MORE

answered Aug 8, 2018 in Jenkins by Kalgi
• 52,370 points
5,538 views
0 votes
1 answer

Jenkins not running as expected after changing the default port

If your Jenkins is running on Ubuntu Virtual ...READ MORE

answered Dec 19, 2018 in Jenkins by Charlie
1,956 views
0 votes
1 answer

jenkins workspace option

You can basically customize your jenkins workspace. ...READ MORE

answered May 16, 2019 in Jenkins by Hitesh
511 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,288 views
+2 votes
1 answer
0 votes
1 answer

Location of jenkins workspace

By default, your Jenkins workspace would be ...READ MORE

answered May 15, 2019 in Jenkins by Sharma
468 views
+1 vote
6 answers

Unable to login to Jenkins even if I enter valid credentials.

Disable security by editing these two classes ...READ MORE

answered Apr 26, 2019 in Jenkins by Vedant
24,569 views