Hi,
Thanks for your answer and this should work when your pipeline only has
sequence stages. In parallel stages two or more stage got failed then one
stage name will replaced by another stage name . So, i can't get all the
failed stage. Is there any other way?


On Fri, 23 Aug, 2019, 5:06 PM Faad Sayaou, <faad...@gmail.com> wrote:

>
>   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
> <https://groups.google.com/d/msgid/jenkinsci-users/CAL2KjjRd%3DbqTJdU99Tp8Bj22Q9ryPCZnN%3D9O10QpO5m7KW7N7g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAM6nqfeUBQm0Xo-9C5zk1xrPkAjhxfNSPTKn%3DcACHpiKxKSNAQ%40mail.gmail.com.

Reply via email to