🧊 GitHub 접근용 SSH Key 생성
GitHub의 private repo에 접근할 때는 주로 SSH 프로토콜을 이용
ssh-keygen을 이용해서 public-private keypair를 생성
- GitHub 로그인
- (Account) Setings > SSH and GPG keys
- New SSH Key
- public key 등록
🧊 Local Repository 생성
GitHub에 등록한 키로 SSH 프로토콜로 GitHub에 접속 가능한지 확인
ssh -T git@github.com
git clone 명령으로 리모트 repogitory 복제
git clone git@github.com:<github id>/<repository>.git
🧊 Spring Boot 프로젝트 생성
설정 후 Generate 버튼을 눌러 zip 파일 다운로드
로컬 컴퓨터에 JDK 설치
spring initializr 에서 받은 파일의 압축을 풀고 ./gradlew build
🧊 Jenkins 설정
Manage Jenkins → plugins → Pipeline: State View Plugin 설치
Manage Jenkins → Credentials → Update credentials 
🧊 Jenkins 프로젝트 (아이템) 생성, 설정

