젠킨스설치와, git토큰발급후 진행한다.
https://standout.tistory.com/584
Jenkins 다운/실행하기
젠킨스 다운, 필자는 윈도우 선택 https://www.jenkins.io/download/ Jenkins download and deployment Jenkins download and deployment The Jenkins project produces two release lines: Stable (LTS) and regular (Weekly). Depending on your organization'
standout.tistory.com
https://standout.tistory.com/585
깃 Token 토큰발급하기
깃 - 설정- 관리자설정 토큰생성 - 이름입력 repo, adminb:repo_hook 선택 - Generate token 완료, 복사하여 잘 메모. 분실시 재발급받아야한다.
standout.tistory.com
젠킨스관리 - Global Tool Configuration - GitHub - Add GitHub Servers


정보입력 - secret text선택 - add

secret입력- add

Test Connection - apply - 저장

Jenkins관리 - 플러그인관리 - github api사용가능여부 확인


새로운 item - 이름입력 - freestyleproject - ok


깃허브 - 원하는 저장소선택 - https 복사
https://github.com/StandOut-0/pro26_annotation.git


url 입력 후 apply - 저장

빌드 - 결과창보기 - 파일확인


완료.

'네트워크 > Jenkins' 카테고리의 다른 글
Jenkins 다운/실행하기 (0) | 2023.05.08 |
---|