How to Send Email from Jenkins Job?

Jenkins Email Notification Configuration

In this video, we are going to learn about the jenkins email notification configuration. We will learn How to send the email from Jenkins with Extended email Plugin and gmail configuration.

This is LIVE DEMO where we will be running our Selenium Maven Java(git) Project with Jenkins Email configurated.

🟣🟣 LINK To Slide
http://sdet.live/notes

🟣🟣 How to send email from Jenkins Job?
1. Navigate to Manage Jenkins and Open Configure System settings
2. Add the SMTP Settings of gmail and Test configuration.
Gmail SMTP server address: smtp.gmail.com
Gmail SMTP user name: Your full Gmail address (e.g. example@gmail.com)
Gmail SMTP password: Your Gmail password
Gmail SMTP port: 465
Gmail SMTP TLS/SSL required: yes

3. Go to your job and Add post build action of email notification.

Setup SMTP configuration for sending the gmail

Navigate in the following path from dashboard after logging in manage Jenkins – configure system – scroll down to email notification section

enter the following parameters

smtp server : smtp.gmail.com
default user email suffix : @gmail.com
select advanced

check smtp authentication

username : (Your gmail id)
password : (application specific password generated from previous step)
check use SSL

SMTP port : 465
Reply to address : noreply@gmail.com(optional)
Charset : UTF-8 (by default it is UTF-8)
select Test configuration mail

Test e-mail recipient : enter recipient email id
click on test configuration which will send a test mail to the recipient e-mail id



Posted inTesting

Contents

How to Send Email from Jenkins Job?



Posted inTesting

How To Publish HTML Report using Jenkins for Selenium Project?



Posted inTesting

How to Create Jenkins Pipeline Project for Selenium Java Maven Project?



Posted inTesting

Why We need to Learn Jenkins as QA



Posted inTesting

Why We Should Hire You as Software Tester or QA?



Posted inTesting

5 Qualities of Good QA From My Mentors

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.