O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

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

Setting up email notifications

Now that we have configured a project and know it can fail when we mess up our code, we need to set up some sort of notification so we know when our build breaks or gets fixed. You could have your Jenkins project open all day and check it after every commit, but we need to make sure everyone is notified when a build fails. So we are going to set up email notifications. I am going to show you this example using a Gmail account (Google mail), but this will work with any email provider as long as you have an SMTP server and login credentials. Go to the Jenkins system configuration and find the email notification (near the bottom). Google's SMTP server is smtp.gmail.com, so be sure to put that in SMTP server under ...

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