mirror of
https://github.com/lddsb/drone-dingtalk-message.git
synced 2026-06-04 18:33:48 +08:00
94589226ee366e24918e436dcb42e3f947ba2763
Drone CI DingTalk Message Plugin
Development
First get this repo
go get github.com/lddsb/drone-dingtalk-message
get dependent lib
go get github.com/urfave/cli
build
cd $GOPATH/src/github.com/lddsb/drone-dingtalk-message && go build .
run
./drone-dingtalk-message -h
Drone CI Plugin Config
pipeline:
# other step here
message:
image: lddsb/drone-dingtalk-message
environment:
- PLUGIN_ACCESS_TOKEN=xxx
- PLUGIN_MSG_TYPE=markdown
Languages
Go
91.9%
Smarty
5.4%
Dockerfile
1.6%
Makefile
1.1%