Please read the following blog to install Jenkins in Windows - Jenkins Installation for Windows
We need to install below plugin for Email from install page of Jenkins - 'Email Extension Plugin'
After installation restart Jenkins and we need to first configure default Email settings.
Default Email Setting:
From Home page, go to Manage Jenkins.
Then click on Configure System.
Fill the details for Extended E-mail Notification:
After this you can Test Email by using E-mail Notification
Provide same details as above and check 'Test configuration by sending test e-mail'
Build Email notification:
Go to your project for which you want to send Email.
Go to Configure and then Post-build Actions.
Click on button - Add post-build action
select E-mail Notification.
Fill in the details.
Customized Email for every build run:
Go to your project for which you want to send Email.
Go to Configure and then Post-build Actions.
Click on button - Add post-build action
select 'Editable E-mail Notification'
Fill the below details
We need to install below plugin for Email from install page of Jenkins - 'Email Extension Plugin'
After installation restart Jenkins and we need to first configure default Email settings.
Default Email Setting:
From Home page, go to Manage Jenkins.
Then click on Configure System.
Fill the details for Extended E-mail Notification:
- SMTP Server: Check with your team or admin or use gmail (smtp.gmail.com)
- Click on Advance and then fill
- SMTP port: Check with your team or admin or use gmail (465)
- Default Receipients - Your receipents Email ID
- Reply To List - Your Email ID
- Default Subject - $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!
- Default Content - $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
After this you can Test Email by using E-mail Notification
Provide same details as above and check 'Test configuration by sending test e-mail'
Build Email notification:
Go to your project for which you want to send Email.
Go to Configure and then Post-build Actions.
Click on button - Add post-build action
select E-mail Notification.
Fill in the details.
Customized Email for every build run:
Go to your project for which you want to send Email.
Go to Configure and then Post-build Actions.
Click on button - Add post-build action
select 'Editable E-mail Notification'
Fill the below details
No comments:
Post a Comment