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

email-ext cannot send emails when global recepient list is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Platform: All, OS: All

      Use case:
      Create a new job, choose to use email-ext, and do not enter anything for the
      global list. Then for the "Success" emails enter a recepient list (locally only
      for success notification) and choose the checkbox "send to recipients". Message
      notification is never send.
      Problem analysis:
      There is bug in the code, that never checks if the global recepients list is
      empty. Then it silently fails with an error message in the console log, but
      don't even print the stacktrace of the exception

            Unassigned Unassigned
            thexman thexman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: