drone-teams

module
v0.0.0-...-11f1334 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2022 License: Apache-2.0

README

Build Status

drone-teams

Drone plugin to send teams notifications for build status

Build

Build the binary with the following command:

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

go build -a -tags netgo -o release/linux/amd64/drone-teams ./cmd/drone-teams

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 jdamata/drone-teams .

Usage

docker run --rm \
  -e PLUGIN_WEBHOOK=<WEBHOOK ENDPOINT> \
  jdamata/drone-teams

Drone Pipeline Usage

- name: teams-webhook
  image: jdamata/drone-teams
  settings:
    webhook: <WEBHOOK ENDPOINT>

Sample

Directories

Path Synopsis
cmd
drone-teams command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL