you can include this in every stage FAILED_STAGE=env.STAGE_NAME and in your email you can call the property $FAILED_STAGE. hope it helps
On Fri, 23 Aug 2019 at 12:42, Sureshkumar Ramar <sureshkumar.ra...@gmail.com> wrote: > Hi, > i am using jenkins pipeline. i want to send the failed stage name to the > developer. is there a way to capture the failure stage in jenkins. it > should work in parallel stages also. > > -- > Thanks & Regards, > Suresh Kumar R > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAM6nqfeQ9sPjgT-nPf%2BhWDY-nuE30%3D3O6No-10WLT3G%2B-jiPvg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAM6nqfeQ9sPjgT-nPf%2BhWDY-nuE30%3D3O6No-10WLT3G%2B-jiPvg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- *Best Regards / Mit freundlichen Grüßen,* *Faad Sayaou,* *Embedded Systems for Mechatronics Masters student | FH Dortmund | Germany* *Fachhochschule Dortmund* *University of Applied Sciences and Arts* *Email*: f <ahmedyasse...@outlook.com>aad...@gmail.com -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAL2KjjRd%3DbqTJdU99Tp8Bj22Q9ryPCZnN%3D9O10QpO5m7KW7N7g%40mail.gmail.com.