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

后端 未结 7 1596
攒了一身酷
攒了一身酷 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:43

    In Tomcat 5 you can modify tomcat.conf and add the path:

    export JAVA_OPTS="-DJENKINS_HOME=/home/jenkins"

    Restart Jenkins.

提交回复
热议问题