Skip to content

将gitlab的webhook消息转发到企业微信robot

Notifications You must be signed in to change notification settings

bujnlc8/gitlabot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status

gitlabot

将gitlab的webhook消息转发到企业微信机器人

使用

  • Build docker

    docker build -t gitlabot:0.0.1 .
    
  • Just Run it

     docker run -e listenAddr=0.0.0.0:9000 -p 9000:9000 -d  --name gitlabot  --restart always gitlabot:0.0.1
    
    
  • gitlab > Settings > Integrations 新增webhook处的Secret Token填入企业微信机器人的推送key, URL处填入http://127.0.0.1:9000/, 当然也可以转发到此处的地址。

About

将gitlab的webhook消息转发到企业微信robot

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published