Jenkins에서 GitHub에 올라가 있는 프로젝트를 연결시켜 봅시다!
1. Jenkins 관리에서 플러그인 관리에 들어갑니다
2. 설치가능 탭을 클릭 후 GitHub Plugin을 선택해서 설치합니다.
3. 해당 Job의 설정에서
- GitHub project : https://github.com/eungoo/eungoo.git/
- 소스코드관리 -> Git
- Repository URL : git://github.com/eungoo/eungoo.git
- 고급 클릭 후 Skip internal tag 체크박스 체크
- Root Pom : eungoo/pom.xml
- Goals and options : clean install
- Post-build Actions -> Deploy war/ear to a container
- War/Ear files : **/*.war
- Context Path : /
- Container : Tomcat 7.x
- username, password, Tomcat URL 입력
0개의 댓글