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

emailext Pipeline step sends mails to irrelevant people

    XMLWordPrintable

Details

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

    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

            Release 2.46 fixes

            davidvanlaatum David van Laatum added a comment - Release 2.46 fixes

            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

            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

            Have reproduced

            davidvanlaatum David van Laatum added a comment - Have reproduced

            People

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

              Dates

                Created:
                Updated:
                Resolved: