How to change workspace and build record Root Directory on Jenkins?

前端 未结 8 1860
野趣味
野趣味 2020-11-29 05:35

I would like Jenkins\' data to be written to drive \"E:\" since this is the large drive on the server. Jenkins itself is installed on \"C:\".

How do I do that?

8条回答
  •  旧巷少年郎
    2020-11-29 06:28

    I would suggest editing the /etc/default/jenkins

    vi /etc/default/jenkins
    

    And changing the $JENKINS_HOME variable (around line 23) to

    JENKINS_HOME=/home/jenkins
    

    Then restart the Jenkins with usual

    /etc/init.d/jenkins start
    

    Cheers!

提交回复
热议问题