Skip to content
Permalink
Browse files
[FIXED JENKINS-10300] Empty emailAddress causes Mailer error.
  • Loading branch information
ssogabe committed Jul 11, 2011
1 parent 4a02e17 commit 72f6f684297b68be19289149d0eed3d76a88f6f5
Showing with 4 additions and 1 deletion.
  1. +3 −0 changelog.html
  2. +1 −1 core/src/main/java/hudson/tasks/Mailer.java
@@ -66,6 +66,9 @@
<li class=bug>
ToolCommandInstaller: Fix CR/LF and always make it Unix style.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-9963">issue 9963</a>)
<li class=bug>
Empty emailAddress causes Mailer error.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-10300">issue 10300</a>)
<li class=rfe>
PAM authentication now works with CLI login mechanism.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-9681">issue 9681</a>)
@@ -478,7 +478,7 @@ public UserProperty(String emailAddress) {

@Exported
public String getAddress() {
if(emailAddress!=null)
if(Util.fixEmptyAndTrim(emailAddress)!=null)
return emailAddress;

// try the inference logic

0 comments on commit 72f6f68

Please sign in to comment.