O'Reilly logo

DevOps for Web Development by Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sending e-mail notifications based on build status

 

"Failure is simply the opportunity to begin again, this time more intelligently."

 
 -- Henry Ford

However, it is extremely vital to be aware of failure or at least to know when things fail so we can fix them and get rid of issues.

Notifications are always helpful in case of failures. Consider a scenario where a build failure or test case failure has to be notified to a specific set of stakeholders. In such a situation, it is desirable to have e-mail notifications.

We will use G-mail configuration for setting up e-mail notifications. Follow these steps:

  1. Go to https://www.google.com/settings/u/1/security/lesssecureapps and click on Turn on Access for less secure apps, as shown here, to send e-mail ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required