Re: Jenkins EMail-ext plugin sends groovy code in the Email body

2014-05-08 Thread Slide
ssed etc.) are not replaced by their values. The text > '$testPassed' is being displayed in the E-Mail body. > > Please let me know, what I am missing here. > > > > -- > View this message in context: > http://jenkins-ci.361315.n4.nabble.com/Jenkins-EMail-ext-plug

Jenkins EMail-ext plugin sends groovy code in the Email body

2014-05-08 Thread AVG_Master
enkins-ci.361315.n4.nabble.com/Jenkins-EMail-ext-plugin-sends-groovy-code-in-the-Email-body-tp4700497.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe f

Re: Jenkins EMail-ext plugin sends groovy code in the Email body

2014-05-07 Thread Slide
You can look here: https://github.com/jenkinsci/email-ext-plugin/tree/master/src/main/resources/hudson/plugins/emailext/templates On Wed, May 7, 2014 at 9:10 AM, Vel Ganesh wrote: > Thank You. I am a newbie on this Topic. Can you please share few links for > samples of groovy/jelly templates? >

Re: Jenkins EMail-ext plugin sends groovy code in the Email body

2014-05-07 Thread Vel Ganesh
Thank You. I am a newbie on this Topic. Can you please share few links for samples of groovy/jelly templates? On Wednesday, May 7, 2014 5:32:48 PM UTC+5:30, Vel Ganesh wrote: > > My Extended E-mail Notification 'Default Content' is set as below: > > > > *Execution Results :* > Status : $BUILD_

Re: Jenkins EMail-ext plugin sends groovy code in the Email body

2014-05-07 Thread Slide
You can't define variables in the presend script and use them in the content. You would need to either use the tokens, if available, to get the information you want, or switch to using a jelly or groovy template. Check the wiki for information. On May 7, 2014 5:02 AM, "Vel Ganesh" wrote: > My Ext

Jenkins EMail-ext plugin sends groovy code in the Email body

2014-05-07 Thread Vel Ganesh
My Extended E-mail Notification 'Default Content' is set as below: *Execution Results :* Status : $BUILD_STATUS Tests run : $testCount Passed : $testPassed Failures : $testFailed Skipped : $testSkipped Build URL : $BUILD_URL My Extended E-mail Notification 'Default Pre-send Script' is set as