DEV Community

Pramod Dutta
Pramod Dutta

Posted on

Jenkins Email Notification Configuration : How to Send Email from Jenkins Job? ( SUPER Easy Way)

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

🟣🟣 LINK To the Project
http://sdet.live/notes

🟣🟣 Link to Jenkins Send Email configuration
https://stackoverflow.com/questions/1...

jenkinsemail #jenkins #jenkinstutorial #jenkinsemailnotificationconfiguration

🟒 30 Days of Automation Testing
https://go.scrolltest.com/automation

🟒 30 Days of API Testing
https://apitesting.co/30days

🟒 30 Days of Rest Assured
https://go.scrolltest.com/30days-rest...

🟣🟣 Download Slides and Notes - http://sdet.live/notes

🟣🟣 My Resume Template - http://sdet.live/notes

βœ… API Testing –
https://www.learnapitesting.com

βœ… Cypress Tutorial with LIVE Projects –
http://cypresstutorial.com

πŸ”— Join the Facebook Group - http://scrolltest.com/fb

πŸ”— Learn API Testing(with Postman) - https://learnapitesting.com/

πŸ”— Rest API Testing with Python - http://masterapitesting.com/

πŸ”— E2E Frontend Testing with Cypress - http://cypresstutorial.com/

πŸ”— Join Our Automation Newsletter - http://scrolltest.com/tta

πŸ”— Master API Testing Bundle - https://apitesting.co/bundle

πŸ”— Rest Assured MasterClass- https://apitesting.co/enroll

Oldest comments (0)