Can you show me an example of groovy script? 

On Wednesday, April 15, 2015 at 4:53:44 PM UTC+5, slide wrote:
>
> You could use the SCRIPT token in the subject and have the decision making 
> done in the groovy script. I do this for lots of things.
>
> On Wed, Apr 15, 2015 at 12:06 AM Faizan Javed <[email protected] 
> <javascript:>> wrote:
>
>> I am using email-ext plugin to trigger emails after the build fails or 
>> become unstable. The build becomes unstable when some of the tests fail and 
>> the build fails when the compilation fail.
>>
>> Can we use conditions to display different customized subject depending 
>> on the cause of the email trigger?
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/78afab09-7faa-4721-98f7-54501aa6f9a5%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/78afab09-7faa-4721-98f7-54501aa6f9a5%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/db0054b6-eeb0-49e6-8aa5-2677d1048c3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to