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

Job DSL Plugin extended email trigger send-to list cannot be emptied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-dsl-plugin
    • None
    • jenkins 2.73.1
      job-dsl-plugin 1.64
      email-ext 2.58

      The "Send to" multi-choice-dropdown-like field (under Advanced settings) is populated with [Recipient List] (as stated in the JobDSL API documentation). That [Recipient List] can be overwritten with any number of the following function calls: "culprits()", "developers()", "failingTestSuspects()", "firstFailingBuildSuspects()", "recipientList()", "requester()" and "upstreamCommitter()".

      It is however not possible to empty that list in order to only send an e-mail to the recipients which were defined in the trigger block "recipientList(String... recipients)"

      Is the creation of something like "emptyList()" in the "sendTo" block possible?

        1. with_recipient_list.png
          56 kB
          Namikaze Minato
        2. without_recipient_list.png
          51 kB
          Namikaze Minato

            daspilker Daniel Spilker
            camusensei Namikaze Minato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: