We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc575dc commit 3607d2eCopy full SHA for 3607d2e
1 file changed
src/main/java/hudson/plugins/git/GitChangeSet.java
@@ -230,8 +230,11 @@ public User getAuthor() {
230
throw new RuntimeException("No author in this changeset!");
231
}
232
233
- User user = User.get(csAuthor, true);
+ User user = User.get(csAuthor, false);
234
235
+ if (user == null)
236
+ user = User.get(csAuthorEmail.split("@")[0], true);
237
+
238
// set email address for user if needed
239
if (fixEmpty(csAuthorEmail) != null) {
240
try {
0 commit comments