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

emailext Pipeline step sends mails to irrelevant people

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • email-ext-plugin
    • None
    • Arch Linux (x64)
      Jekinks 2.15 (Docker jenkinsci/jenkins)
      email-ext plugin: 2.45

      The emailext step always sends mails to people made changes to the changeset, even if recipientProviders argument is unset or set to empty list.

      e.g.

      // Expected only Bob will receive the mail, but it actually included the people involved by the changeset.
      emailext to: 'bob', body: 'Test'
      emailext to: 'bob', recipientProviders:[], body: 'Test'
      

            davidvanlaatum David van Laatum
            jackieku Kai Chieh Ku
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: