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

Editable Email notification not working with remotely initiated jobs


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • mailer-plugin
    • Jenkins 1.651, Ext-Mailer 2.55, Mailer 1.19

      Issue with remotely triggered Jenkins (REST API) jobs not sending emails;

      job log:
      Email was triggered for: Always
      Sending email for trigger: Always
      An attempt to send an e-mail to empty list of recipients, ignored.

      1. Same job ran via build now in gui is able to expand the $DEFAULT_RECIPIENTS and send emails.
      2. Harding code an email address in the field "Project Recipient List" works with REST API jobs.
      3. $DEFAULT_RECIPIENTS or any variables is not expanded with REST API jobs.

            Unassigned Unassigned
            ayhkusa Alan Yeung
            0 Vote for this issue
            1 Start watching this issue