Let’s assume:

We can do one command deployment. Monitoring system is properly configured.

Thus we can wrap up the deployment automation scripts as a Jenkins job. And enable slack Jenkins plugin[2]. Then configure the job to send slack notifications, whenever the job starts or ends.

Another question people will constantly ask: how healthy my env is? Here we rely on monitoring system. So we can ask monitoring to send out slack notifications for all major issues.

Put it all together, here comes a demo. Now when people want to get more information about prod upgrade, it’s much easier. Just subscribe or check slack channels.

Any improvements or suggestions? Share your experience with us!

[1] https://slack.com

[2] https://wiki.jenkins-ci.org/display/JENKINS/Slack+Plugin

More Reading:

Blog URL: https://www.dennyzhang.com/slack_deployment