Skip to content
/ snitch Public
forked from nemanjakrstic/snitch

Slack Notifications GoCD Builds

Notifications You must be signed in to change notification settings

xola/snitch

 
 

Repository files navigation

GoCD Snitch

A webhook based Slack notifier for GoCD

Requirements

Install

docker build -t snitch .
docker run -p 6000:6000 -it snitch

Create/Edit /var/go/webhook_notify.properties file and add an entry for the webhook. Example:

stage.status.endpoint.1=https://your-snitch-url/api/webhooks
agent.status.endpoint.1=https://your-snitch-url/api/webhooks

Deploy on Remote server

Run scripts/release.sh This will build and run the app. The app is made of three components configured in pm2.config.cjs:

  1. Snitch app
  2. Monitoring agent for Jobs
  3. Monitoring agent for Elastic agents

Once run you can view the logs using:

docker logs -f snitch

About

Slack Notifications GoCD Builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.4%
  • Dockerfile 2.8%
  • Shell 1.8%