"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: