Changing Jenkins workspace

0 votes
How do I change my Jenkins workspace?
May 15, 2019 in Jenkins by Olly
• 33,857 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,340 points
• 11,218 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,340 points
• 11,043 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
• 5,205 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
• 3,710 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
• 9,058 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
• 2,413 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
• 54,270 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP