Denis, thank you.
You're right and "DevelopersRecipientProvider" does provide  comitter's 
email.

On Wednesday, August 29, 2018 at 3:21:17 PM UTC+3, Denis Mone wrote:
>
> I believe Jenkins gather the mail addresses from the commits.
> If you have a stage that clones/updates your code see if there are new 
> commits.
> If there are not new commits the recipient list will be empty.
>
>
> On Wed, Aug 29, 2018 at 3:10 PM Vitaly Karasik <[email protected] 
> <javascript:>> wrote:
>
>> I'm trying to add Git committers to email notifications in multibranch 
>> pipeline job.
>> Based on 
>> https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples,
>>  
>> I configured this:
>>
>> emailext body: '${SCRIPT,template="report.template"}', replyTo: 
>> '$DEFAULT_REPLYTO', subject: '$PROJECT_NAME: Run: 
>> ${TEST_COUNTS,var="total"}, Failed: ${TEST_COUNTS,var="fail"}', 
>> recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 
>> 'RequesterRecipientProvider']]
>>
>> But for some reason Jenkins doesn't get committers emails:
>>
>> [Pipeline] emailextAn attempt to send an e-mail to empty list of recipients, 
>> ignored.
>>
>>
>> any ideas?
>>
>>
>> TIA,
>> Vitaly
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a34514c4-fbcc-4e11-9b94-583356152345%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a34514c4-fbcc-4e11-9b94-583356152345%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/cd2772c6-2db1-4cf7-aaf8-3586e1836cde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to