Hudson的Home directory设置

  持续集成工具Hudson安装到Tomcat中时,先将下载的Hudson.war(http://hudson-ci.org/)下载到Tomcat 6.0\webapps下面,重新启动Tomcat。访问hudson主页http://localhost:8080/hudson/,点击“Manage Hudson”->Configure System,“Home Directory”的设置方法如下:

  打开Tomcat 6.0\webapps\hudson\WEB-INF下的web.xml,搜索“HUDSON_HOME”,将其对应的<env-entry-value>设置成自定义的路径,如“C:\hudson”并保存该文件。

  重新访问hudson主页,可以看到“Manage Hudson”->Configure System,“Home Directory”已经被改成“C:\hudson”。

posted @ 2010-01-31 18:20  轩辕枯藤  阅读(915)  评论(0编辑  收藏  举报