Re: email-ext when a string is found in ${BUILD_LOG}

2014-04-17 Thread Slide
You can add some debugging in, I didn't say exactly that would work. You may need to tweek it for it to really work. On Apr 17, 2014 11:09 AM, "Nicolas Daigneault" wrote: > No it don't seem to work, I receive an email every time even if the term > Nothing downloaded is found or not. > > > This is

Re: email-ext when a string is found in ${BUILD_LOG}

2014-04-17 Thread Nicolas Daigneault
No it don't seem to work, I receive an email every time even if the term Nothing downloaded is found or not. This is now my log Démarré par l'utilisateur xadmin Building in workspace /Users/Shared/Jenkins/Home/workspace/Chrome No emails were triggered

Re: email-ext when a string is found in ${BUILD_LOG}

2014-04-16 Thread Slide
Something like this in the script trigger: !build.getLog(10).contains('Nothing downloaded') On Wed, Apr 16, 2014 at 10:26 AM, Nicolas Daigneault < nicolas.daignea...@gmail.com> wrote: > Hello, > > I'm a new user of jenkins, I use it with munki/autopkg for the people who > know what it is. I ha

email-ext when a string is found in ${BUILD_LOG}

2014-04-16 Thread Nicolas Daigneault
Hello, I'm a new user of jenkins, I use it with munki/autopkg for the people who know what it is. I have about 20 job that are running every day. I would like to have a notification by email each time that the string "Nothing downloaded" *is not found* in the build result. I found in the proj