Is there any way to get build number of upstream job. I have many jobs
connected to each other. A triggers B, B triggers C and so on up to
20 jobs. I do not want to send success email for every project but
want to send email on last downstream build success. But email should
contains links to logs for all upstream builds.
If i get build number of each upstream job, that would be great.