DEV Community

Pramod Dutta
Pramod Dutta

Posted on

2

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

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay