README
Jenkins Monitor
Jenkins Monitoring and Alert solution build to monitor the official Node.js CI server operated by nodejs/build.
Prerequisite
- Docker >= v1.8
- Docker Compose >= 1.3
Environment
CRON_INTERVAL
- how often to run checks (ex.0 0 */1 * * *
)JENKINS_URL
- Jenkins Server URL to monitor
IRC:
IRC_CHANNEL
- IRC channel to post toIRC_SERVER
- IRC server to post toIRC_USER
- IRC user to post as
Gitter:
GITTER_WEBHOOK_URL
- Gitter Webhook URL
Sendgrid:
SENDGRID_USERNAME
- Sengrid email notification user nameSENDGRID_PASSWORD
- Sendgrid email notification passwordSENDGRID_RECIPIENTS
- Sendgrid email notification recipients (comma separated)SENDGRID_SENDER
- Sendgrid email notification sender
Test
docker-compose run --rm dev npm test
Start
docker-compose run --rm dev npm start
Deploy
./deploy.sh