dingding

command
v0.0.0-...-003c574 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2019 License: MIT Imports: 10 Imported by: 0

README

组件名称:Notice DingDing

[notice] 钉钉机器人通知组件

组件参数

入参
  • WEBHOOK 必填, 钉钉机器人Webhook地址, 如何配置钉钉自定义机器人并获得Webhook地址请参考: 钉钉自定义机器人
  • _WORKFLOW_FLAG_TASK_DETAIL 非必填,如果为true, workflow会将当前工作流执行详情的json字符串注入到环境变量_WORKFLOW_TASK_DETAIL中.
  • MESSAGE 非必填,自定发送的文本消息
  • AT_MOBILES 非必填,被@人的手机号, 仅对发送自定义文本消息有效(MESSAGE不为空)
  • IS_AT_ALL 非必填,@所有人时:true, 否则为:false, 仅对发送自定义文本消息有效(MESSAGE不为空)

自定义消息(MESSAGE) 和发送工作流执行消息(_WORKFLOW_FLAG_TASK_DETAIL) 两者是二选一的关系, 自定义消息优先级更高, 当MESSAGE 有值时, 只发送用户自定义的文本消息.

出参

源码地址

Notice DingDing: https://github.com/tencentyun/workflow-components/tree/master/notice/dingding

构建:

docker build -t hub.tencentyun.com/tencenthub/notice_dingding:latest .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL