Details

    • Similar Issues:

      Description

      See http://jenkins.361315.n4.nabble.com/Users-unicity-td2542625.html for related discussion.

      Jenkins is missing a way to ensure users unicity since they are created from various sources: authentication method (LDAP in my case), code commits (Subversion, Mercurial, Git, ...).
      Depending on the way the user is retrieved by Jenkins (from a commit on a given SCM or its authentication), multiple identities are created for the same real user.
      As a consequence, some features are not fully or badly working (login, notifications, user's builds, continuous integration game, ...) and configuration of users is a pain as it must be done multiple times for each real user.

      Wanted features are:

      • a merging feature. Allow to merge multiple Jenkins users into a single account.
      • a user pattern per SCM. Allow to choose how to extract a username from a commit for each SCM and how to optionally match existing one instead of creating a new user.
      • an id pattern per notification type. Allow to define how to generate the default id used for notification from the user data (from his jenkins id, his name, his scm id, ...): for instance his mail or his jabber id, ...

        Attachments

          Issue Links

            Activity

            Hide
            ndeloof Nicolas De Loof added a comment -

            partially addressed by hudson.model.User.CanonicalIdResolver

            Show
            ndeloof Nicolas De Loof added a comment - partially addressed by hudson.model.User.CanonicalIdResolver
            Hide
            blundell Paul Blundell added a comment -

            We have this issue in that there are two Jenkins users for 1 person, 1 that has logged in using credentials and one that has committed a change.

            Would be nice to merge these two people into the one human they are.

            Show
            blundell Paul Blundell added a comment - We have this issue in that there are two Jenkins users for 1 person, 1 that has logged in using credentials and one that has committed a change. Would be nice to merge these two people into the one human they are.
            Hide
            danielbeck Daniel Beck added a comment -

            The Additional Identities Plugin aims to resolve this:

            https://wiki.jenkins-ci.org/display/JENKINS/Additional+Identities+Plugin
            https://github.com/ndeloof/additional-identities-plugin

            Nicolas De Loof: Any chance you could create a release?

            Show
            danielbeck Daniel Beck added a comment - The Additional Identities Plugin aims to resolve this: https://wiki.jenkins-ci.org/display/JENKINS/Additional+Identities+Plugin https://github.com/ndeloof/additional-identities-plugin Nicolas De Loof : Any chance you could create a release?
            Hide
            intel352 Jonathan Langevin added a comment -

            Even with the Additional Identities Plugin, this is still an issue for me.
            I have multiple emails that I use for commits with Github, for some personal projects and then work projects.
            I viewed the People list in Jenkins, deleted the "automatic" users created by Jenkins (I presume based on commits across various projects), added the email address for each user to my Additional Identities on my primary account (tried with and without Realm), yet upon revisiting the People list, I see the previously deleted users have again returned.

            Show
            intel352 Jonathan Langevin added a comment - Even with the Additional Identities Plugin, this is still an issue for me. I have multiple emails that I use for commits with Github, for some personal projects and then work projects. I viewed the People list in Jenkins, deleted the "automatic" users created by Jenkins (I presume based on commits across various projects), added the email address for each user to my Additional Identities on my primary account (tried with and without Realm), yet upon revisiting the People list, I see the previously deleted users have again returned.
            Hide
            trejkaz trejkaz added a comment -

            Is there some kind of way to work around this problem? Some users on ours show up more than 3 times...

             

             

            Show
            trejkaz trejkaz added a comment - Is there some kind of way to work around this problem? Some users on ours show up more than 3 times...    

              People

              • Assignee:
                Unassigned
                Reporter:
                jcarsique Julien Carsique
              • Votes:
                31 Vote for this issue
                Watchers:
                29 Start watching this issue

                Dates

                • Created:
                  Updated: