I have a Jenkins instance connected to a directory service for authentication. I configured the display name and email attributes. I have a build checking out a Subversion repository over HTTP (via Apache), which authenticates with the same LDAP.
I expected Jenkins to pull the user from the commit metadata (the svn:author
property), map the display name to show in the Changes screen, and map the email address for sending build notifications.
I'm having trouble with both:
Jenkins only shows the user's display name after they log in once. For example, my user name is
anthony.mastrean
and my display name isAnthony Mastrean
. My changes were linked asanthony.mastrean
until I logged in.Jenkins never pulls the email address. It's has this in my user configuration and in the log for the email notifier:
anthony.mastrean@548b7ffa-d19c-4046-8715-d3a94a596a03
This configuration used to build from a Git-Svn bridge repository. We didn't create that bridge with an authors mapping file. This is the mess that Git makes of the user name to satisfy it's own committer/author email address metadata.
Jenkins was happy to use this information (pulled from the revision metadata) for our users. Maybe or maybe not because we hadn't configured LDAP yet (we did that later).
Blah.
Oh, an actual answer: we just wiped out the junk email addresses listed for each user and Jenkins happily pulled it from LDAP next time.