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

Add support for empty sendTo field for extendedEmail plugin

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      In the front end it's possible to delete the default for the extendedEmailPublisher-Plugin:

      Editable Email Notification > Advanced Settings > Triggers > any > "Send To"
      ....
      The recipients of "send To" can be deleted so it's possible to add custom recipients in recipient list.

      Using jobdsl plugin leaving sendTo empty or setting to "null" outputs custom behavior recipients list which is not the desired behavior.
      An empty String is not allowed.

      The configure block to achieve the desired output for 4 different triggers is quite ugly.

            edgar0119 Edgar Yu
            tomreichelt Tom Reichelt
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: