move Hudson job to another server

后端 未结 6 1521
闹比i
闹比i 2021-02-14 09:03

I\'ve setup a continuous integration build with Hudson running on Tomcat. I now need to move this a different instance of Tomcat, but don\'t want to have to configure everything

6条回答
  •  时光取名叫无心
    2021-02-14 09:10

    One best practice is to create an environment variable HUDSON_HOME on the server running Hudson. This variable name will be used by Hudson to store all configuration and job data.

    Without this variable Hudson will create a folder under $USERHOME/.hudson (On Windows it will be c:\Documents and Settings[user].hudson].

    One advantage of using HUDSON_HOME variable is that it will allow you to start Hudson with any user, what is somehow common when using a remote Windows server to host.

提交回复
热议问题