Skip to content
forked from junbaor/platelet

Gitlab Webhook 通知到企业微信

Notifications You must be signed in to change notification settings

zmj-ii/platelet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab Webhook 推送到企业微信 build status

部署

java 方式

mvn clean package -Dmaven.test.skip=true 
java -jar target/app.jar

docker 方式

docker run -d -p 8081:8081 --name=platelet junbaor/platelet:latest

使用

1、申请企业微信机器人获取 Webhook 地址.
例如 : https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=92dc7b26-1234-4568-5678-99ebccf461b0
2、记录 key 参数. 例如 : 92dc7b26-1234-4568-5678-99ebccf461b0
3、打开 Gitlab 项目主页, 点击 settings - integrations
4、URL 处输入 http://机器IP:8081/webhook/key参数.
例如 : http://10.200.13.33:8081/webhook/92dc7b26-1234-4568-5678-99ebccf461b0
5、勾选自己关心的 Trigger
6、点击 Add webhook

About

Gitlab Webhook 通知到企业微信

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.5%
  • Dockerfile 2.5%