mirror of
https://github.com/lizheming/drone-wechat.git
synced 2026-06-16 14:50:39 +08:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5b410441e6 | |||
| a10b8c2982 | |||
| 31457c2db5 | |||
| 8f3fadac27 | |||
| 4f828a37a2 | |||
| 960b54b0da |
@@ -18,7 +18,6 @@ configParser({
|
||||
},
|
||||
to_user: {
|
||||
usage: 'The user ids to send the message to',
|
||||
def: '@all',
|
||||
env: 'PLUGIN_TO_USER,WECHAT_TO_USER'
|
||||
},
|
||||
to_tag: {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "drone-wechat",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.4",
|
||||
"description": "drone wechat notification plugin",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -60,6 +60,7 @@ test('send wechat with corp id', async t => {
|
||||
PLUGIN_MESSAGE: MESSAGE,
|
||||
PLUGIN_TO_PARTY: 'party',
|
||||
PLUGIN_TO_TAG: 'tag',
|
||||
PLUGIN_TO_USER: '@all',
|
||||
PLUGIN_MSG_URL: '',
|
||||
PLUGIN_BTN_TEXT: 'more',
|
||||
PLUGIN_AGENT_ID: 1122
|
||||
@@ -79,7 +80,7 @@ test('send wechat with corp id', async t => {
|
||||
body: {
|
||||
touser: '@all',
|
||||
toparty: 'party',
|
||||
tag: 'tag',
|
||||
totag: 'tag',
|
||||
msgtype: 'textcard',
|
||||
agentid: 1122,
|
||||
safe: 0,
|
||||
|
||||
Reference in New Issue
Block a user