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

后端 未结 7 1590
攒了一身酷
攒了一身酷 2020-12-29 07:17

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

7条回答
  •  一整个雨季
    2020-12-29 07:55

    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.

提交回复
热议问题