Jenkins Email Notification | Connection error sending email, retrying once more in 10 seconds

  Рет қаралды 3,600

SDET Adda For QA Automation

SDET Adda For QA Automation

Күн бұрын

In this video, we will be addressing "Connection error sending email, retrying once more in 10 seconds" error while sending email from Jenkins server and see how to configure SMTP server for Email Notification from Jenkins server and see the Gmail Inbox to confirm if Email from Jenkins is received or not.
Here is the issue-
"Connection error sending email, retrying once more in 10 seconds...
Connection error sending email, retrying once more in 10 seconds...
Failed after second try sending email
Finished: SUCCESS"
Fix/configuration is available in this video along with how to generate App passwords steps.
Moreover, To send email from a Jenkins job, you can use the built-in email notification and extended email notification feature or the Email Extension plugin.
Built-in email notification
Go to Manage Jenkins - Configure System.
Scroll down to the Email Notification section and configure your SMTP settings.
Go to your Jenkins job and click Add post-build action.
Select Email Notification from the list of actions.
Enter the email addresses of the recipients you want to send the email to.
Configure the rest of the email settings, such as the subject line and body of the email.
Click Save.
Email Extension plugin
Install the Email Extension plugin from the Jenkins Plugin Manager.
Go to Manage Jenkins - Configure System - Extended E-mail Notification.
Configure your SMTP settings.
Go to your Jenkins job and click Add post-build action.
Select Extended Email Notification from the list of actions.
Enter the email addresses of the recipients you want to send the email to.
Configure the rest of the email settings, such as the subject line and body of the email.
Click Save.
Once you have configured your email notification settings, you can test them by building your job. If the email is not sent, check your Jenkins console log for any errors.
Here are some additional tips for sending email from Jenkins:
You can use variables in your email subject line and body to customize the email for each build.
You can attach files to your emails, such as build reports or test logs.
You can use different email notification settings for different build statuses (e.g., success, failure, unstable).
You can use the Email Extension plugin to send emails from triggers, such as when a job is rescheduled or cancelled.

Пікірлер: 8
@akshaysarve
@akshaysarve Ай бұрын
Finally I resolved this issue. Thank you 😃
@sivabalu9848
@sivabalu9848 4 ай бұрын
Faced the same error. Thanks for the video 😇
@anamikashukla-p3j
@anamikashukla-p3j 11 ай бұрын
Well explained, I understand everything
@testing24x7
@testing24x7 11 ай бұрын
Great video, thanks.
@sdetadda
@sdetadda 10 ай бұрын
Glad you liked it!
@riyashukla1717
@riyashukla1717 11 ай бұрын
Upload full series
@LakshmiCharanTangisettiTangise
@LakshmiCharanTangisettiTangise 5 ай бұрын
how to add app password
@rotamapandi9251
@rotamapandi9251 5 ай бұрын
NIce!!!!!!!!!!!!!!!!!
How To Install Plugin In Jenkins Server| Install Plugin Using HPI File
7:59
SDET Adda For QA Automation
Рет қаралды 735
How to configure Email Notification in Jenkins | Send Email using Gmail SMTP server
12:03
SDET Adda For QA Automation
Рет қаралды 4,4 М.
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 20 МЛН
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
Send Email Notifications from Jenkins | Jenkins
15:27
DevOps Shack
Рет қаралды 4,2 М.
How To Configure Jenkins In Windows
15:02
Mukesh otwani
Рет қаралды 39 М.
How to SSH From Jenkins to Remote Server
7:21
CloudBeesTV
Рет қаралды 8 М.
Zero To hero | Jenkins Email Notifications | Day-4
29:52
DevOps Shack
Рет қаралды 8 М.