Im quite new in customizing email notifications for Jenkins.
I wanted to send an email if build is failing for X hours (lets say if status is failed 2h after it was triggered. If this is complicated then sending an email after 5th failed build will do the job.
So I installed email-ext plugin into the jenkins, but in the list of proposed triggers there is nothing like this.
Can someone tell me which file should I change / create in order to create a specific trigger?
Thank you