A webhook based Slack notifier for GoCD
- Node 20
- Webhook GoCD plugin: https://github.com/digitalocean/gocd-webhook-notification-plugin
docker build -t snitch .
docker run -p 6000:6000 -it snitchCreate/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/webhooksRun scripts/release.sh This will build and run the app. The app is made of three components configured in pm2.config.cjs:
- Snitch app
- Monitoring agent for Jobs
- Monitoring agent for Elastic agents
Once run you can view the logs using:
docker logs -f snitch