I have the working /.jenkins folder under a specific user in home on Linux. I want to start Jenkins with another user, but re-use the .jenkins folder of the other user. How
I am using jenkins 1.639 as a war deployed on tomcat 7.0.67 . My JENKINS_HOME is set to /home/hims/jenkins
This is the entry of my setenv.sh file under /tomcat/bin directory
export CATALINA_OPTS="-DJENKINS_HOME=/home/hims/jenkins"
I hope this helps.