0

How to get the information of downstream job which got triggered by upstream

for example A - parent job which has triggered B C and D as downstream job,

I wanted to get the info (job name and build number) of B C and D which triggered by A

helen
  • 3
  • 2
  • Could you post your script where you trigger the downstream jobs to begin with ? – Patrice M. Dec 21 '21 at 21:27
  • From Job D you can get the information of the entire upstream chain, but from job A you can get information only for the direct downstream job (B) – Noam Helmer Dec 23 '21 at 12:35
  • @NoamHelmer, could you please help with the "how to get information of direct downstream job (B) " – helen Dec 23 '21 at 14:43
  • @helen Check out [This Answer](https://stackoverflow.com/questions/51103359/jenkins-pipeline-return-value-of-build-step) it explains the return output of the `build` step. – Noam Helmer Dec 23 '21 at 15:28

0 Answers0