Name: drone-slack-blame
Owner: drone-plugins
Description: Drone plugin to send build status blames via Slack
Created: 2015-08-04 01:20:55.0
Updated: 2018-05-10 16:25:27.0
Pushed: 2018-05-11 13:45:56.0
Size: 909
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Drone plugin to send build status blames via Slack. For the usage information and a listing of the available options please take a look at the docs.
Build the binary with the following commands:
uild
Build the Docker image with the following commands:
=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-slack-blame
er build --rm -t plugins/slack-blame .
Execute from the working directory:
er run --rm \
PLUGIN_TOKEN=xxxxx \
PLUGIN_CHANNEL=dev \
PLUGIN_SUCCESS_USERNAME="Happy Keanu (on behalf of Drone)" \
PLUGIN_SUCCESS_ICON=":happy_keanu:" \
PLUGIN_SUCCESS_MESSAGE="The build is fixed!" \
PLUGIN_SUCCESS_IMAGE_ATTACHMENTS="http://i.imgur.com/TP4PIxc.jpg" \
PLUGIN_FAILURE_USERNAME="Sad Keanu (on behalf of Drone)" \
PLUGIN_FAILURE_ICON=":sad_keanu:" \
PLUGIN_FAILURE_MESSAGE="The build is broken!" \
PLUGIN_FAILURE_IMAGE_ATTACHMENTS="http://cdn.meme.am/instances/51000361.jpg" \
$(pwd):$(pwd) \
$(pwd) \
ugins/slack-blame