GitLab에서 Rocket.Chat으로 알림 연동
2867 단어 Roc 집 t. 차 tGitLab
개요
GitLab에서 후크하고 결과를 Rocket.Chat 채널에 알립니다.
공식: 통합 GitLab 을 참고로 작업을 진행한다.
환경
전제
Rocket.Chat의 관리자 권한이 있습니다.
절차
Rocket.Chat 측의 Incoming WebHook 설정
관리자 권한이 있는 계정으로 로그인합니다.
메뉴에서 관리 > 서비스 연계로 전환하고 "새 서비스 연계"버튼을 누릅니다.
Incoming WebHook을 선택합니다.

다양한 설정을 수행하고 "변경 저장"버튼을 누릅니다.
※Script는 공식 제공 JS 파일 로부터 가져온다

Webhook URL과 Token을 삼가한다.
※페이지를 다시 로드하면 나온다

GitLab의 Integration 설정
대상 프로젝트를 엽니다.
Setting> Integration을 누릅니다.

방금 대기한 Webhook URL과 Token을 입력합니다.

트리거가 되는 처리를 선택한다.
예) 이번에는 파이프라인 선택

Add webhook을 누르십시오.
경우에 따라서는 Enable SSL verification의 체크를 해제한다.

확인
설정 내용이 반영되어 있는지 확인한다.
Test에서 대상 트리거를 누릅니다.

Rocket.Chat에 대한 알림을 확인할 수 있습니다.

Reference
이 문제에 관하여(GitLab에서 Rocket.Chat으로 알림 연동), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/sakazoo/items/79824125b3979871270e텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)