Re: Send mail to mailbox when there's an infrastructure fail

2019-04-10 Thread Sarfroz Basha
Hi Aaron, Thanks for your reply. Its very helpful to me. Can you please explain steps to create freestyle job triggered by cron in Jenkins. Whenever checks into the Gitserver, if Gitserver was down automatically email notification need to come. Regards, Sarfroz Basha On Wednesday, April 10

Re: Send mail to mailbox when there's an infrastructure fail

2019-04-10 Thread Aaron Digulla
Hi Sarfroz, To make sure I understand you correctly: - Your Git server was down - Jenkins did start a job - The job tried to check out the code from Git - That step failed - You didn't receive a mail for this specific failure (usually, it works) - You're using Scripted Pipeline, not Declarative P

Send mail to mailbox when there's an infrastructure fail

2019-04-09 Thread Sarfroz Basha
Hi All, This is Sarfroz, Working in T-systems, I need small help. Whenever GIT server was down at that time build was trigger in Jenkins if build fails email notification need to come like Git exception during checkout like that. Need to mention in Groovy script pipeline. Example:- - GitExcept