CICD/Jenkins
깃허브 웹훅 도입 및 젠킨스 연동 (GitHub Webhook with Jenkins)
2mukee
2021. 9. 30. 14:55
320x100
320x100
깃허브 웹훅 설정
1. 깃허브 저장소 > Settings > Webhooks > Add webhook
2. 웹훅 설정
ㆍPayload URL
: http://<Jenkins서버 IP>:<port>/github-webhook/
ㆍContent type
: application/json
ㆍWhich events would you~~
: Juste the push event 체크
: 이후 Add webhook 클릭하여 저장
젠킨스 설정
: https://2mukee.tistory.com/239
github와 jenkins 연동하기
1. 깃허브 - 세팅 2. 좌측 메뉴에서 Developer settings 클릭 3. Personal access tokens 클릭 4. generate new token을 통해 새로운 토큰 생성 5. 토큰의 이름 설정 6. 젠킨스가 요구하는 scope 설정 7...
2mukee.tistory.com
※ 오류 해결법
300x250
728x90