-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins ver. 1.499
git plugin: 1.1.26
When checking for an existing email address for a user the proper getAdress() method is not being used:
GitChangeSet.java, Line 274
if (fixEmpty(csAuthorEmail) != null && user.getProperty(Mailer.UserProperty.class)==null)
should look like:
if (fixEmpty(csAuthorEmail) != null && user.getProperty(Mailer.UserProperty.class).getAddress())
added a pull request to fix this: https://github.com/jenkinsci/git-plugin/pull/123