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

Global exclude list of user accounts

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.480.3
      Email-ext 2.28
    • Similar Issues:

      Description

      Our CI system uses so called build accounts to execute builds. These accounts are considered as committers as they do changes to vcs. These accounts do not have email addresses, or email addresses are invalid. Email addresses for committers are searched from directory server in our system. I would like to rule out these build accounts from email sending altogether.

      First implementation alternative is to have a global exclude list of user accounts. For these accounts, email address resolution would be skipped and thus the whole email sending.

      Second implementation alternative is to remove build account email addresses from the email message prior its sending. This is not as optimal as the first alternative as it requires email address resolution, but it gets the job done. This solution alternative requires configuration at global level too and is therefore related to JENKINS-14508.

      As a workaround, I can use project level pre-send script to filter out unwanted email addresses.

        Attachments

          Issue Links

            Activity

            salsa Sami Salonen created issue -
            salsa Sami Salonen made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-14508 [ JENKINS-14508 ]
            slide_o_mix Alex Earl made changes -
            Link This issue is duplicated by JENKINS-17551 [ JENKINS-17551 ]
            slide_o_mix Alex Earl made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            slide_o_mix Alex Earl made changes -
            Link This issue is duplicated by JENKINS-17812 [ JENKINS-17812 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 148682 ] JNJira + In-Review [ 192824 ]

              People

              • Assignee:
                slide_o_mix Alex Earl
                Reporter:
                salsa Sami Salonen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: