Jenkins:avax.mail.AuthenticationFailedException:535错误的身份验证数据

时间:2020-03-26 10:30:40

标签: jenkins centos6

我已经在我的VPS(Centos6)上安装了Jekins,并进行了以下配置以便接收电子邮件通知:

enter image description here

请注意,当我在localhost(windows)上使用jenkins时,此配置对我有用 当然,我已经在我的gmail帐户中启用了function = input('Enter a function in terms of x and y: ') def f(x, y): evaluated = eval(function) return evaluated x = int(input('x: ')) y = int(input('y: ')) print(f(x, y)) 选项
我在这里想念什么?

1 个答案:

答案 0 :(得分:0)

在centos vps中,您没有用于gmail主机的中继,因此您可以尝试从服务器smtp.localhost(端口25)发送电子邮件通知,并且不进行身份验证(不要忘记设置系统管理员电子邮件) ,您可以在顶部的“詹金斯位置”中找到它)