Drone plugins > DingTalk

The DingTalk can be used to send a message by DingTalk group robot.

Example

kind: pipeline
name: default

steps:
- name: dingtalk
  image: lddsb/drone-dingtalk-message
  settings:
    token: your-dingtalk-robot-access-token
    type: markdown

Properties

  • token

    stringrequired

    you can get the access token when you add a bot in a group.

    Secret recommended

    Default: none

  • type

    stringrequired

    dingtalk message type, markdown is the best type now.

    Default: none

  • message_color

    booleanoptional

    color the title and content for easier identification.

    Default: false

  • message_pic

    booleanoptional

    insert a picture into a message to make the content richer.

    Default: false

  • sha_link

    booleanoptional

    sha as a link to click to the source code page.

    Default: false