zoukankan      html  css  js  c++  java
  • Jenkins Email sending fails

    I set up the JENKINS Editable Email notification for my project with trigger for all builds.

    the build runs successfully but the emails does not send. The follwing is the result in the console output.

    BUILD SUCCESSFUL
    Total time: 43 seconds
    Email was triggered for: Always
    Sending email for trigger: Always
    Sending email to: chauhanheena@gmail.com
    Connection error sending email, retrying once more in 10 seconds...
    Connection error sending email, retrying once more in 10 seconds...
    Failed after second try sending email
    Finished: SUCCESS



    Solution:

      Make sure SMTP server is configured under "Manage Jenkins" -> "Configure System" -> "Extended E-mail Notification"

      Note also that depending on your plug-in set up, you may have another place to configure SMTP server. For example under "Manage Jenkins" -> "Configure System" -> E-mail Notification.

      That is not needed for this particular plug-in but it may lead you think you have everything done, while it is not :)

  • 相关阅读:
    docker基础
    paas平台
    django 多数据分库
    s3对象存储
    css
    __construct()和__initialize()
    js function
    phpstorm ftp 使用
    php
    thinkphp 笔记
  • 原文地址:https://www.cnblogs.com/jj1118/p/6085421.html
Copyright © 2011-2022 走看看