Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Jenkins (2) configure email notification

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

After the installation and configuration of Jenkins is completed, you also need to configure a mailbox to send email notifications, as follows:

1. Click * * system Management * *-> * * system Settings * * to find the email address of the system administrator in Jenkins Location:

2. Then pull to the bottom to configure email notification

Note: the address of the email must be the same as the administrator's address, otherwise the email will report an error. At the same time, you must set the authorization code in the 163 mailbox and fill in the authorization code where the password is set above, otherwise you will not be able to send the email.

3. Check the emails received

4. Received, email configuration is successful. Click Save, go to the previous task, click configure, find the post-build operation, and select E-mail Notification,Recipients to fill in the email address for receiving email.

When the execution fails, you can receive the email.

Second, configure mailbox to send mail through Extended E-mail Notification plug-in

1. Open jenkins system Management-> system Settings (Jenkins- > Manage Jenkins- > configure system), and enter the configuration page to set the content similar to the built-in email settings.

2. Project configuration. Open jenkins system Management-> Click to enter Job- > configuration, and add the post-build step "Editable Email Notification"

3. Set the trigger for sending mail. Click the Advanced Settings in the image above to open the trigger settings panel; click "add trigger" to select the trigger condition

Click the Advanced Settings in the image above to open the trigger settings panel; click "add trigger" to select the trigger condition

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report