An open API service indexing awesome lists of open source software.

https://github.com/kaynewang/drone-wechat-robot

企业微信机器人消息推送插件
https://github.com/kaynewang/drone-wechat-robot

drone-ci golang-tools

Last synced: 6 months ago
JSON representation

企业微信机器人消息推送插件

Awesome Lists containing this project

README

          

## drone-wechat-robot

The WeChat for Work Robot notifications for Drone plugin. You can reference [the doc](https://work.weixin.qq.com/help?doc_id=13376) to know how to use it.

## Build

```shell
$ sh build.sh
```

## Environment Reference

You can look at drone pipelines [doc](https://docs.drone.io/pipeline/environment/reference/)

## Usage

```yml
kind: pipeline
type: docker
name: default

steps:
- name: notify
image: kaynewang/drone-wechat-robot
settings:
msgtype: text
key: your own robot key
content: hello world
mentioned_list: @all,kaynewang
mentioned_mobile_list: @all,kaynewang
```

```yml
kind: pipeline
type: docker
name: default

steps:
- name: notify
image: kaynewang/drone-wechat-robot
settings:
msgtype: markdown
key: your own robot key
content: "实时新增用户反馈132例,请相关同事注意。\n
>类型:用户反馈
>普通用户反馈:117例
>VIP用户反馈:15例"
```