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

subversion plugin combines domain name and user name as user ID

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • None

      When you want to have jenkins email the last committer that he broke the build, with Active Directory. it can not resolve the correct user from the SVN author.

      The subversion resolved the user ID as <domain-name_username>. While jenkins resolves the user of the same active directory as user ID <username>.

      see here the user info:

      SVN commiter resolved user:  

      {"_class":"hudson.model.User","absoluteUrl":"http://jenkins.-------.nl/user/ebmpapst-hs_kz",
      "description":"",
      "fullName":"Kay -------",
      "id":"ebmpapst-hs_kz",
      "property":[
      {"_class":"jenkins.security.ApiTokenProperty"},
      {"_class":"com.cloudbees.plugins.credentials.UserCredentialsProvider$UserCredentialsProperty"},
      {"_class":"hudson.tasks.Mailer$UserProperty","address":"kay---@--.nl"},
      {"_class":"hudson.plugins.emailext.watching.EmailExtWatchAction$UserProperty","triggers":[]},
      {"_class":"hudson.model.MyViewsProperty"},
      {"_class":"org.jenkinsci.plugins.displayurlapi.user.PreferredProviderUserProperty"},
      {"_class":"hudson.model.PaneStatusProperties"},
      {"_class":"org.jenkinsci.main.modules.cli.auth.ssh.UserPropertyImpl"},
      {"_class":"hudson.search.UserSearchProperty","insensitiveSearch":true}
      ]}

       

      jenkins acitve directory resolved user:

      {"_class":"hudson.model.User","absoluteUrl":"http://jenkins.-------.nl/user/kz",
      "description":null,
      "fullName":"Kay -------",
      "id":"kz",
      "property":[
      {"_class":"jenkins.security.ApiTokenProperty"},
      {"_class":"com.cloudbees.plugins.credentials.UserCredentialsProvider$UserCredentialsProperty"},
      {"_class":"hudson.tasks.Mailer$UserProperty","address":"kay---@--.nl"},
      {"_class":"hudson.plugins.emailext.watching.EmailExtWatchAction$UserProperty","triggers":[]},
      {"_class":"hudson.model.MyViewsProperty"},
      {"_class":"org.jenkinsci.plugins.displayurlapi.user.PreferredProviderUserProperty"}
      {"_class":"hudson.model.PaneStatusProperties"},
      {"_class":"jenkins.security.LastGrantedAuthoritiesProperty"},
      {"_class":"hudson.search.UserSearchProperty","insensitiveSearch":false},
      ]}

       

       

            Unassigned Unassigned
            kvdzander kay van der Zander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: