목적
git에서 web소스를 수신 후, tomcat 하단 webapp으로 디플로이 자동화
참고
tomcat installation
Jenkins 설정
maven
jenkins관리 > global tool configuration>maven >
- name : m3
- install automatically : check
- version : 3.6
새로운 아이템
Freestyle project
- 소스코드관리 : git repository url
https://github.com/ValaxyTech/hello-world
를 개인 GitHub repository에 fork해서 사용하는 것을 추천 함
Build
Maven version : M3
Goals : clean install package
빌드 후 조치
- WAR/EAR files :
http://218.145.218.31:8080/webapp/