Drone plugins > Slack
Slack
by drone-plugins
The Slack plugin posts build status messages to your channel.
Example
kind: pipeline
name: default
steps:
- name: slack
image: plugins/slack
settings:
webhook: https://hooks.slack.com/services/...
channel: dev
icon_url: https://unsplash.it/256/256/?random
Properties
webhook
stringrequiredincoming webhook url for posting to a channel
Default: false
channel
stringoptionalmessages sent to the above webhook are posted here
Default: false
recipient
stringoptionalalternatively you can send it to a specific user
Default: false
username
stringoptionalchoose the username this integration will post as
Default: false
template
stringoptionaloverwrite the default message template
Default: false
image_url
stringoptionala valid URL to an image file that will be displayed inside a message attachment
Default: false
icon_url
stringoptionala valid URL that displays a image to the left of the username
Default: false
icon_emoji
stringoptionaldisplays a emoji to the left of the username
Default: false
link_names
stringoptionallinks usernames and channels in the message
Default: false