How to change Jenkins default folder on Windows?

后端 未结 7 610
谎友^
谎友^ 2020-12-13 17:27

How to change Jenkins default folder on Windows where Jenkins runs as Windows service. I want to change C:\\Users\\Coola\\.jenkins folder to d:\\Jenkins<

7条回答
  •  -上瘾入骨i
    2020-12-13 18:27

    When you read Administering Jenkins you can read all options how to modify the JENKINS_HOME environment variable.

    On this website you can read how to configure you Tomcat container to override the JENKINS_HOME environment variable, they advise to create the file $CATALINA_BASE/conf/localhost/jenkins.xml, with the following content:

    
        
    
    

提交回复
热议问题