I have a jenkins pipeline in which i have defined stages, I want to send email after specific stage number and at the end of the job.
For Example : Suppose i have a job in which i have 8 steps. I want that job will send success email after 6th stage if all 6 stages have successfully run. And again the same pipeline will send status after all stages are executed.
I know how to send email at the last(after all stages completed) but i am not able to find any solution for how to send email in between stages.