Content
- Password Creation.
- How to send email notification ?
- Log location of Jenkins .
Creation of Password from GMAIL:
- Goto to the respective e-mail and set the 2-factor authentication.
- Then enable APP password.
wxu ul00s xddd xvlo While you are entering this password in Jenkins make sure you need to remove the space.
Email Extension Template Plugin is the plugin which is required to send message.
Configure the EMAIL to the Jenkins :
Now set the gmail SMTP server to get the notification :
Enable the test mail and check whether you are getting the mail,
Now test the configuration,
Now go to "Extended E-mail Notification",
Always ---> it will give all the logs to your mail ID.
Click ADD
Save all the Changes and Now create a Project and test the email notifications.
Here you can give many EMAIL ID's like all the members of the team. Note : This is ONLY FOR THIS PROJECT alone.
Now CLICK build NOW
If you notice keenly , from mail ID is like " address not configured yet " , that is configured here . Requesting to change accordingly.
Where LOGS are stored ?
/var/lib/jenkins/jobs/
/var/lib/jenkins/jobs/TestEmailNotification/builds
/var/lib/jenkins/jobs/TestEmailNotification/builds/1/log
List of Error's :
- Email not sent :
Top comments (0)