Re: Using token WARNINGS_NEW in pre send email

2015-01-06 Thread Slide
I think I can add the ability to use tokens to the present script for the next version. On Mon, Jan 5, 2015, 01:46 null wrote: > Hi, > > I have no idea how it gets its value. If anyone could help? > > Tahnks > > > On Wednesday, December 31, 2014 2:34:44 PM UTC+1, slide wrote: > >> How does WARNI

Re: Using token WARNINGS_NEW in pre send email

2015-01-05 Thread kitty56fr
Hi, I have no idea how it gets its value. If anyone could help? Tahnks On Wednesday, December 31, 2014 2:34:44 PM UTC+1, slide wrote: > How does WARNINGS_NEW get it's value? You'd want to use pretty much the > same code path to get the number of warnings in Groovy. > > On Wed Dec 31 2014 at 2:

Re: Using token WARNINGS_NEW in pre send email

2014-12-31 Thread Slide
How does WARNINGS_NEW get it's value? You'd want to use pretty much the same code path to get the number of warnings in Groovy. On Wed Dec 31 2014 at 2:17:22 AM wrote: > Hi, > > I am trying to send an email at the end of the build job only if new > warnings appear. > > I tried something like: >

Using token WARNINGS_NEW in pre send email

2014-12-31 Thread kitty56fr
Hi, I am trying to send an email at the end of the build job only if new warnings appear. I tried something like: if (${WARNINGS_NEW}==0) { cancel = true; } but it is not working. I notice the script should be written in Groovy language. So I tried a few (lot of) things but I can't get acce