카테고리 없음
Jenkin, maven, git 연동하기
분리불안증후군
2018. 12. 22. 18:07
Git 설치하기
- https://git-scm.com/에 git download받아 설치하기
- $ git --version으로 잘 설치되었는지 확인하기
Jenkins에 github plugin 설치하기
- Main > Manage Jenkins > Manage Plugins > Available 탭
- Filter에 GitHub 입력하고 검색
- GitHub: This plugin integrates GitHub to Jenkins 체크
- Install without restart 선택하기 > Installing Plugins/Upgrades 진행
- Main > Manage Jenkins > Manage Plugins > installed 탭에서 설치된 플러그인 확인하기
로컬 Maven 설치하기
- https://maven.apache.org/download.cgi에서 download 받아 설치하기, 여기서는 binary zip을 다운로드 받아보자
- macos의 경우 ~/Docuement에 압축을 풀고
- ~/.bash_profile에 export PATH=_maven_bin_directory_:$PATH 추가하고
- $ source ~/.bash_profile로 활성화
- $ mvn -v로 확인해 보기