Re: Gerrit Trigger and email notification

2015-01-26 Thread 李大明
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  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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: Gerrit Trigger and email notification

2015-01-19 Thread Robert Sandell
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  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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Gerrit Trigger and email notification

2015-01-15 Thread 李大明
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  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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5a4460b3-d093-4bad-abe7-883f19357102%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.