톰캣주소 : http://tomcat.apache.org
hudson주소 : http://hudson-ci.org

환경 세팅 : JAVA_HOME=JDK경로, CATALINA_HOME=TOMCAT경로

아래 방법은 webapp에 복사 없이 hudson context 추가하는 방식이다. 
1. hudson.war 전용 디렉토리를 생성한다
예 : /Users/사용자../Server/hudson/
2. hudson.war를 복사한다
3. tomcat이 설치된 디렉토리로 이동 후 conf/ 폴더로 이동한다
4.conf 디렉토리내 Catalina / localhost 로 이동한다
예 : ${tomcathome}/conf/Catalina/localhost
5. hudson.xml 을 생성한다 (vi hudson.xml)
6.xml 에 hudson의 Context정보를 입력한다.
<?xml version='1.0' encoding='utf-8'?>
<Context path="/hudson"   docBase=“…hudson.war 가 위치한 디렉토리…"   debug="0"   reloadable="true"   crossContext="true" />

7. tomcat를 재시작한다
8. http://localhost:8080/hudson 으로 접속하여 hudson을 확인한다

'CI 설정' 카테고리의 다른 글

OSx 시작 서비스 등록  (0) 2011.01.17

+ Recent posts