以邮件方式发送测试报告 import smtplib from email.mime.text import MIMEText class SendEmail: """邮件方式发送报告""" global send_user global email_host global password send_user = "XXXXX@163.com" email_host = "smtp.163.com" pa…
Jenkins发送邮箱配置,需要的插件:Extended E-mail Notification,邮件通知 1.Manage Jenkins -> Configure System 2.下图是“邮件通知”的高级配置,开始只配置了这里,没有配置Extended E-mail Notification里高级配置,导致构建成功后报:Error sending to the following VALID addresses,第三步是解决这个问题 3.由于发送邮件用的插件是:Extended E-mai…