Lets say we have Jobs A , B , C ,D and E. Job A triggers Job B ; Job B triggers Job C; Job C triggers Job D;, Job D triggers Job E;

When one of the child job fails for example: Job c fails then email should be sent to recipients of Job A ,Job B and Job c along with console output of A and changeLog ; Console output of Job B and changeLog and Console Output of Job C and changeLog all these info should be sent.!

Is there any way to do this ? Need to use groovy script or how?

  • Sounds like you should just convert to a pipeline job.
    – Ian W
    May 30 at 21:48

If you really want to, you can use


or even better


there is the log of the last successful build, the others are:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.