사랑해 마니마니

Jenkin, maven, git 연동하기 본문

카테고리 없음

Jenkin, maven, git 연동하기

분리불안증후군 2018. 12. 22. 18:07

Git 설치하기

  1. https://git-scm.com/에 git download받아 설치하기
  2. $ git --version으로 잘 설치되었는지 확인하기

Jenkins에 github plugin 설치하기

  1. Main > Manage Jenkins > Manage Plugins > Available 탭 
  2. Filter에 GitHub 입력하고 검색
  3. GitHub: This plugin integrates GitHub to Jenkins 체크
  4. Install without restart 선택하기 > Installing Plugins/Upgrades 진행
  5. Main > Manage Jenkins > Manage Plugins > installed 탭에서 설치된 플러그인 확인하기

로컬 Maven 설치하기

  1. https://maven.apache.org/download.cgi에서 download 받아 설치하기, 여기서는 binary zip을 다운로드 받아보자
  2. macos의 경우 ~/Docuement에 압축을 풀고
  3. ~/.bash_profile에 export PATH=_maven_bin_directory_:$PATH 추가하고
  4. $ source ~/.bash_profile로 활성화
  5. $ mvn -v로 확인해 보기

 

Comments