drone-plugins/drone-slack-blame

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

Homepage:

Size: 909

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

drone-slack-blame

Build Status Join the chat at https://gitter.im/drone/drone Go Doc Go Report

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

Build the binary with the following commands:

uild
Docker

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 .
Usage

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.