Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16181

Jenkins does not try to resend a failed e-mail

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Sending an e-mail from a job could fail for several reasons, for example:

      • connection refused in case smtp is temporarily overloaded
      • smtp server temporarily down

      If this happens, jenkins does not try to resend the e-mail.
      This can be a problem if you rely on e-mail notifications to identify critical systems or builds that fail.

      Can this be fixed?

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          There is no option to specify the number of retries.

          Show
          slide_o_mix Alex Earl added a comment - There is no option to specify the number of retries.
          Hide
          christiangalsterer Christian Galsterer added a comment -

          Added handling when a MessagingException is caused by ConnectException. Identical retry handling as for SendFailedException.
          PR available at https://github.com/jenkinsci/email-ext-plugin/pull/96

          Show
          christiangalsterer Christian Galsterer added a comment - Added handling when a MessagingException is caused by ConnectException. Identical retry handling as for SendFailedException. PR available at https://github.com/jenkinsci/email-ext-plugin/pull/96
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christian Galsterer
          Path:
          src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
          http://jenkins-ci.org/commit/email-ext-plugin/531a9232658a3bb725be1f0551a1bb01ec30c588
          Log:
          JENKINS-16181 Jenkins does not try to resend a failed e-mail

          • Added handling where MessagingConnection is caused by a ConnectException. One retry with a delay of 10 sec is made.
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christian Galsterer Path: src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java http://jenkins-ci.org/commit/email-ext-plugin/531a9232658a3bb725be1f0551a1bb01ec30c588 Log: JENKINS-16181 Jenkins does not try to resend a failed e-mail Added handling where MessagingConnection is caused by a ConnectException. One retry with a delay of 10 sec is made.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Alex Earl
          Path:
          src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
          http://jenkins-ci.org/commit/email-ext-plugin/99ff8aed9777edfd24420ed3ba91a6d9f322968a
          Log:
          Merge pull request #96 from christiangalsterer/JENKINS-16181

          JENKINS-16181 Jenkins does not try to resend a failed e-mail

          Compare: https://github.com/jenkinsci/email-ext-plugin/compare/5a0f29b55751...99ff8aed9777

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java http://jenkins-ci.org/commit/email-ext-plugin/99ff8aed9777edfd24420ed3ba91a6d9f322968a Log: Merge pull request #96 from christiangalsterer/ JENKINS-16181 JENKINS-16181 Jenkins does not try to resend a failed e-mail Compare: https://github.com/jenkinsci/email-ext-plugin/compare/5a0f29b55751...99ff8aed9777
          Hide
          slide_o_mix Alex Earl added a comment -

          Fixed in 2.39

          Show
          slide_o_mix Alex Earl added a comment - Fixed in 2.39

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              kalm Kate Calm
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: