How to send email notification on the basis of different job
===


I have job A which trigger build on the basis of commit, after completion of job A, job B will get triggered as downstream job. 

IN my case both job A and B send email notification.

How can i configure like job A trigger job B so that after successful completion of job B , i wanted to send email notification to the committer of job A aswellas global recipient.

Can any one help me regarding this?


Thanks in Advance