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

emailext Pipeline step sends mails to irrelevant people

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      Arch Linux (x64)
      Jekinks 2.15 (Docker jenkinsci/jenkins)
      email-ext plugin: 2.45
    • Similar Issues:

      Description

      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'
      

        Attachments

          Issue Links

            Activity

            Hide
            davidvanlaatum David van Laatum added a comment -

            Have reproduced

            Show
            davidvanlaatum David van Laatum added a comment - Have reproduced
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: David van Laatum
            Path:
            src/main/java/hudson/plugins/emailext/EmailExtStep.java
            http://jenkins-ci.org/commit/email-ext-plugin/d505d3d2f38601bcfe029845b8a20576fd58045f
            Log:
            JENKINS-37163 emailext Pipeline step sends mails to irrelevant people

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: David van Laatum Path: src/main/java/hudson/plugins/emailext/EmailExtStep.java http://jenkins-ci.org/commit/email-ext-plugin/d505d3d2f38601bcfe029845b8a20576fd58045f Log: JENKINS-37163 emailext Pipeline step sends mails to irrelevant people
            Hide
            davidvanlaatum David van Laatum added a comment -

            Release 2.46 fixes

            Show
            davidvanlaatum David van Laatum added a comment - Release 2.46 fixes

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: