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.



0 comments:
Post a Comment