Yes, I use Gerrit trigger.

I finally solve this by using $GERRIT_PATCHSET_UPLOADER_EMAIL varible So 
that I can mail to the specific user.

Robert Sandell於 2015年1月19日星期一 UTC+8下午7時37分03秒寫道:
>
> Are you using the Gerrit Trigger Build Chooser? It should only select the 
> patch set that triggered the build to be in the change list.
>
> /B
>
> On Friday, January 16, 2015 at 5:21:14 AM UTC+1, 李大明 wrote:
>>
>> I set up a Jenkins server and use gerrit trigger, I want to configure 
>> Jenkins to send notification mail when build fail.
>>
>> Problems are
>>
>> 1. Jenkins list commits that are merged in to target branch, not the 
>> commit in patchset. That causes some confusion
>>
>> 2. Jenkins knowns only user name from gerrit, but no email address, so I 
>> got
>>
>> Failed to send e-mail to xxxx because no e-mail address is known, and no 
>> default e-mail domain is configured
>>
>> Does "LDAP Email Plugin" solve this issue?
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8fc8e65f-812a-4d30-a666-e4b05857d4f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to