In this post, We will see how we can configure email in Jenkins so that the build status mail will be trigger every time after build made.
So please follow the below steps as I am mentioning and In last you can see the result......
Step: - 1
Open Jenkins in any browser, If you have locally installed then open with (Using default URL: http://localhost:8080 )
Step:- 2
Click on Manage Jenkins which is shown in the left side panel and then click on Manage Plugins
Step:- 3
Click on Available tab present on the top of ''Plugin Manager" and click on Available tab then type 'Email-ext' in the filter Search box, then select both checkboxes for ( Email-ext plugin and Email-ext Template plugin) and then Click on Install without Restart button
Step:- 4
Go again Jenkins Home Page, Click on Manage Jenkins then Click on Configure System option.
Step:- 5
Enter the SMTP server name, User name, Password, SMTP port under ‘Email Notification’ By Clicking on the ‘Advanced’ button then click on Test Configuration to check wether mail sending or not.
Step:- 6
Then Click on " Configure Job" and then click on "Post build option" and Select "Email notification" and "Editable Email notification"
Step:- 7
Mention " Recipients " name in Email Notification Section
Step:- 8
Click on "Advanced Settings " Option in Editable Email Notification Section
Step:- 9
Go down and search " Triggers " option and Then click on the "Advanced" button and Add "Success Triggers" and Select Send to Recipients
Step:- 10
Click on the " Save and then Apply " button, And Then build a Job.
Step:- 11
Open Mailbox, and check job mails will be there.
Thanks To view this Post
Please put your valuable comments ........................
Post a Comment