jenkinsci / jenkinsci/git-plugin

[JENKINS-9016] Git creates usernames based on 'name' not the email.

Open
#2,001 36 comments 0 reactions 0 assignees View on GitHub
component:git-plugin enhancement imported-jira-issue priority:major resolution:unresolved ux
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

I realize mapping git author/commit users back to Jenkin's users is pain, but perhaps it could be done a little better.

Some ideas:



  • Try looking up a user's email and comparing that.

  • Using the user portion from the email (e.g. someuser@​example.com becomes someuser).

  • Looking up the user's email in LDAP, if LDAP is being used.

The last would be ideal for us.

Ciao!

---
Originally reported by docwhat, imported from: Git creates usernames based on 'name' not the email.


  • status: Open
  • priority: Major
  • component(s): git-plugin
  • label(s): git, plugin, scm, user-experience
  • resolution: Unresolved
  • votes: 51
  • watchers: 61
  • imported: 2025-12-02

Raw content of original issue

I realize mapping git author/commit users back to Jenkin's users is pain, but perhaps it could be done a little better.

Some ideas:



  • Try looking up a user's email and comparing that.

  • Using the user portion from the email (e.g. someuser@example.com becomes someuser).

  • Looking up the user's email in LDAP, if LDAP is being used.

The last would be ideal for us.

Ciao!

environment

```
git plugin 1.1.6

git plugin 2.0, jenkins 1.540, ubuntu 13.10
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.