Name: drone-webhook
Owner: drone-plugins
Description: Drone plugin for triggering webhook notifications
Created: 2015-11-03 19:20:25.0
Updated: 2018-04-27 22:33:01.0
Pushed: 2018-04-18 22:36:06.0
Homepage: null
Size: 393
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Drone plugin to send build status notifications via Webhook. 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-webhook
er build --rm -t plugins/webhook .
er run --rm \
PLUGIN_URLS=https://hooks.somplace.com/endpoing/... \
PLUGIN_HEADERS="HEADER1=value1" \
PLUGIN_USERNAME=drone \
PLUGIN_PASSWORD=password \
DRONE_REPO_OWNER=octocat \
DRONE_REPO_NAME=hello-world \
DRONE_COMMIT_SHA=7fd1a60b01f91b314f59955a4e4d4e80d8edf11d \
DRONE_COMMIT_BRANCH=master \
DRONE_COMMIT_AUTHOR=octocat \
DRONE_BUILD_NUMBER=1 \
DRONE_BUILD_STATUS=success \
DRONE_BUILD_LINK=http://github.com/octocat/hello-world \
DRONE_TAG=1.0.0 \
$(pwd):$(pwd) \
$(pwd) \
ugins/webhook