How can I point Jenkins to another .jenkins home directory?

0 votes
I have the working /.jenkins folder under a specific user in home on Linux. I want to start Jenkins with another user. How can I do this?
Jul 19, 2018 in Jenkins by Nilesh
• 6,900 points
75 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I think this can help you out.

Set an Environment Variable JENKINS_HOME pointing to the .jenkinsfolder and run the Jenkins command.

The shell should be like

export JENKINS_HOME=/usr/jhon/.jenkins
java -jar jenkins.war
The batch should be like  

SET JENKINS_HOME=C:\users\jhon\.jenkins
java -jar jenkins.war
answered Jul 19, 2018 by Kalgi
• 2,620 points

Related Questions In Jenkins

0 votes
2 answers

How can I make Jenkins CI with Git trigger on pushes to master?

Generic webhook trigger can be useful When configured ...READ MORE

answered Aug 13, 2018 in Jenkins by lina
• 8,100 points
54 views
0 votes
1 answer

How do i move jenkins from one server to another?

Hey @Kiran, You can: Move a job from one ...READ MORE

answered Feb 12 in Jenkins by Imran
26 views
0 votes
1 answer

How can I create global macros and templates in jenkins job builder?

you can append the path to the ...READ MORE

answered Apr 2, 2018 in Jenkins by ajs3033
• 7,000 points
188 views
0 votes
2 answers
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How do I pass value from my Fake # script to the host build server (Jenkins)

You can use the EnvInject plugin to pass environment ...READ MORE

answered Jul 11, 2018 in Jenkins by Kalgi
• 2,620 points
40 views
0 votes
1 answer

How Can I measure Jenkins Build Performance?

If you go to the Jenkins page ...READ MORE

answered Jul 16, 2018 in Jenkins by Kalgi
• 2,620 points
27 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.