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 <[email protected]> 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 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 <[email protected]> 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:
>>>
>>> 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 access to the tokens.
>>>
>>> Then I tried to find the files containing the info but I can't find them
>>> either.
>>>
>>> Any idea?
>>> Thanks
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to [email protected].
>>
>>
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/jenkinsci-users/329ed68a-a1ca-40a4-a819-
>>> eaacc50c060e%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/329ed68a-a1ca-40a4-a819-eaacc50c060e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/9ccd50ee-4753-4d4a-9c3b-d223856ea4ac%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/9ccd50ee-4753-4d4a-9c3b-d223856ea4ac%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVd8QrAzqkDTE%2B-G3H6p0vvVHS9mZ%2BHBuiuMLgrdLBMRhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to