Name
Last commit
Last update
..
images webhook, update3
.gitkeep ci/cd init
README.md webhook, update3

logo

GitLAB WebHook Configuration Overview

Jenkins Project와의 연동을 진행한다.

WebHook Configuration

1. (jenkins) Project 생성

2. (jenkins) Build Trigers 이동

3. (jenkins) Build when a change is pushed to GitLab. GitLab webhook URL: URL 정보 복사

  • 고급 클릭 -> Generate 클릭하여 Token 생성 후 복사
  • 저장

4. (gitlab) GitLAB Proejct 이동

5. (gitlab) Settings -> Integrations

  • 3번 항목에서 복사한 URL과 Token을 다음과 같이 입력

webhook

6. (gitlab) Webhook 동작 테스트

다음과 같이 **Push events" 를 클릭하여, Jenkins와의 연동을 확인한다.

webhook_test

7. (jenkins) Build 동작을 확인

다음과 같이 Build 내역을 확인할 수 있다.

webhook_build