LightBlog

Jenkins – Setup Email notifications using Gmail


1.Go to https://myaccount.google.com/u/1/lesssecureapps?pli=1 , Allow less secure apps: ON

2.Go to Manage Jenkins > Configure System > E-mail Notification
SMTP server: smtp.gmail.com
Check : Use SMTP Authentication
Enter : Gmail Id / Password
Check : Use SSL     
SMTP Port : 465
Check : Test configuration by sending test e-mail

3.So now, we will configure how to send email notification, if build got failed! Follow me!

4. Open any build job and click on Configure > Post-build Actions > Add post-build action > Select: E-mail Notification > Enter list of Recipients.


Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

0 comments:

Post a Comment