All Projects → drone-plugins → drone-webhook

drone-plugins / drone-webhook

Licence: Apache-2.0 license
Drone plugin for triggering webhook notifications

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to drone-webhook

drone-facebook
Drone plugin for sending Facebook notifications
Stars: ✭ 15 (-62.5%)
Mutual labels:  drone, drone-plugin
drone-ansible
Drone plugin to provision via Ansible
Stars: ✭ 24 (-40%)
Mutual labels:  drone, drone-plugin
drone-irc
Drone plugin for sending IRC messages
Stars: ✭ 12 (-70%)
Mutual labels:  drone, drone-plugin
drone-hugo
Drone plugin to publish Hugo generated websites
Stars: ✭ 26 (-35%)
Mutual labels:  drone, drone-plugin
drone-jenkins
Drone plugin for trigger Jenkins jobs.
Stars: ✭ 35 (-12.5%)
Mutual labels:  drone, drone-plugin
drone-s3-cache
Caches build artifacts to S3 compatible storage backends
Stars: ✭ 27 (-32.5%)
Mutual labels:  drone, drone-plugin
drone-gh-pages
Drone plugin for publishing to GitHub Pages
Stars: ✭ 14 (-65%)
Mutual labels:  drone, drone-plugin
drone-volume-cache
Drone plugin to cache directories within the build workspace
Stars: ✭ 15 (-62.5%)
Mutual labels:  drone, drone-plugin
drone-npm
Drone plugin for publishing packages to NPM
Stars: ✭ 21 (-47.5%)
Mutual labels:  drone, drone-plugin
drone-manifest
Drone plugin to push Docker manifests
Stars: ✭ 14 (-65%)
Mutual labels:  drone, drone-plugin
drone-s3
Drone plugin for publishing artifacts to Amazon S3
Stars: ✭ 30 (-25%)
Mutual labels:  drone, drone-plugin
drone-ftps
Deploy to FTPS server from Drone CI build
Stars: ✭ 18 (-55%)
Mutual labels:  drone, drone-plugin
drone-git-push
Drone plugin for deploying code using git push
Stars: ✭ 49 (+22.5%)
Mutual labels:  drone, drone-plugin
AirMapSDK-Swift
Create Flights, Send Telemetry Data, Get Realtime Traffic Alerts.
Stars: ✭ 35 (-12.5%)
Mutual labels:  drone
betafpv-f3
Board Support Crate for the BetaFPV F3 Drone Flight Controller
Stars: ✭ 37 (-7.5%)
Mutual labels:  drone
ublox
Arduino and CMake library for communicating with uBlox GPS receivers.
Stars: ✭ 89 (+122.5%)
Mutual labels:  drone
source x
Open Source Giant FPV Racing Drone Frame
Stars: ✭ 19 (-52.5%)
Mutual labels:  drone
bme280
Arduino and CMake library for communicating with the Bosch Sensortec BME280 environmental sensor.
Stars: ✭ 21 (-47.5%)
Mutual labels:  drone
iq sim
example gazebo ardupilot simulation package
Stars: ✭ 60 (+50%)
Mutual labels:  drone
QGISFMV
QGIS Full Motion Video (FMV)
Stars: ✭ 104 (+160%)
Mutual labels:  drone

drone-webhook

Build Status Gitter chat Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

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

Build the binary with the following command:

export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
export GO111MODULE=on

go build -v -a -tags netgo -o release/linux/amd64/drone-webhook

Docker

Build the Docker image with the following command:

docker build \
  --label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
  --file docker/Dockerfile.linux.amd64 --tag plugins/webhook .

Usage

docker run --rm \
  -e PLUGIN_URLS=https://hooks.somplace.com/endpoing/... \
  -e PLUGIN_HEADERS="HEADER1=value1" \
  -e PLUGIN_USERNAME=drone \
  -e PLUGIN_PASSWORD=password \
  -e PLUGIN_VALID_RESPONSE_CODES="200,202,404" \
  -e DRONE_REPO_OWNER=octocat \
  -e DRONE_REPO_NAME=hello-world \
  -e DRONE_COMMIT_SHA=7fd1a60b01f91b314f59955a4e4d4e80d8edf11d \
  -e DRONE_COMMIT_BRANCH=master \
  -e DRONE_COMMIT_AUTHOR=octocat \
  -e DRONE_BUILD_NUMBER=1 \
  -e DRONE_BUILD_STATUS=success \
  -e DRONE_BUILD_LINK=http://github.com/octocat/hello-world \
  -e DRONE_TAG=1.0.0 \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  plugins/webhook
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].