Drone plugins > Wechat for Work
wechat.svg

Wechat for Work

by clem109


Drone plugin for WeChat for Work to show build notifications.

Example

kind: pipeline
name: default

steps:
- name: wechat
  image: clem109/drone-wechat
  settings:
    corpid: corpid
    corp_secret: secret
    agent_id: 1234567
    title: ${DRONE_REPO_NAME}
    description: "Build Number: ${DRONE_BUILD_NUMBER} failed. ${DRONE_COMMIT_AUTHOR} please fix. Check the results here: ${DRONE_BUILD_LINK} "
    msg_url: ${DRONE_BUILD_LINK}
    btn_txt: btn

Properties

  • corpid

    stringrequired

    The corpid for authorization

    Secret recommended

    Default: none

  • corp_secret

    stringrequired

    The corp_secret for authorization

    Secret recommended

    Default: none

  • agent_id

    stringrequired

    The agent id to send the message

    Default: none

  • to_party

    stringoptional

    The party id to send the message

    Default: none

  • to_user

    stringoptional

    The user id to send the message

    Default: none

  • to_tag

    stringoptional

    The tag id to send the message

    Default: none

  • msg_url

    stringoptional

    The link for the text card click

    Default: none

  • btntxt

    stringoptional

    The text for the button on the card

    Default: none

  • title

    stringoptional

    Notification title

    Default: none

  • description

    stringrequired

    Text description of the card

    Default: none