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

Jenkins refuses to send emails to authorised users when using Role Strategy permissions

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: role-strategy-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.107.3
      Role Strategy plugin 2.8.1
      Mailer 1.21
      Email Extension 2.62
    • Similar Issues:

      Description

      The simplest reproducible I can find:

      • Create a new freestyle job
      • Add an Editable Email Notification post-build action
      • Click Advanced settings
      • Add a "Always" filter and add "Requestor" to Send To
      • In Configure Global Security, select Role-Based Security (leave the default settings that make you an admin)
      • Run your test job
      • The output will say something like this even though you're an admin with permission to see everything:

      No emails were triggered.
      Email was triggered for: Always
      Sending email for trigger: Always
      Not sending mail to user Philip.Douglas@example.com with no permission to view Email test #5An attempt to send an e-mail to empty list of recipients, ignored.
      Finished: SUCCESS

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pdouglas Philip Douglas
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: