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/bc4648f4-507f-48d0-9136-7f780905b9a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
