Re: How to add the last successful job time in the email notification

2013-03-10 Thread Slide
The easiest way would be to use a groovy SCRIPT and do a loop on the build.previousBuild until you find the build you are looking for. If you want to use it in the email subject, you'd want to have the last line in the script be the content you want. ${SCRIPT, script="last-successful-build-info.gr

How to add the last successful job time in the email notification

2013-03-10 Thread olga
Hello, I have set email notifications using Email-ext plugin when job status is success or failure. When there is continous repated failure, I wanted to add last build successful time in the email subject. Any help is appreciated. Eg: build# 4 - Fail- 1/13/2013 - Add "last success