Re: Email ext to send html body in Pipeline

2016-10-17 Thread Slide
rooturl and build are variables that are put into the binding for the Jelly and Groovy templating. They can't be used directly. On Mon, Oct 17, 2016 at 6:34 AM wrote: > Hi, Sam I was just wondering if the FILE type could use the token > replacement like the follwoing: > > Jenkins project > > int

Re: Email ext to send html body in Pipeline

2016-10-17 Thread jerome
Hi, Sam I was just wondering if the FILE type could use the token replacement like the follwoing: Jenkins project into the email body. I tested it on my side just out of curiosity and it does not make the token replacement as of writting this. For those who need it: '${JELLY_SCRIPT,template="/

Re: Email ext to send html body in Pipeline

2016-10-14 Thread Sam K
Hmm, not sure what you're asking...but the FILE,path along with the mimeType: 'text/html' does send any html file in the body of the email. On Friday, October 14, 2016 at 9:57:15 AM UTC-7, jer...@bodycad.com wrote: > > Hi, > > I found the Jelly script way of doing it, see my post into this forum

Re: Email ext to send html body in Pipeline

2016-10-14 Thread jerome
Hi, I found the Jelly script way of doing it, see my post into this forum. does the '${FILE,path="/tmp/test.html"}' does the Token replacement? can you use any form of script into it (for loop? jelly? groovy?). Thanks -- You received this message because you are subscribed to the Google Grou

Re: Email ext to send html body in Pipeline

2016-10-14 Thread Sreeram Krishna
You are right! It has been added. But when I use the file for the body:, it was sending me the actual content of the html file as text file. I was using contentType: 'HTML' after trying to look at the code in github, but it really needed mimeType to get it working. I wish there is a way to mark t

Re: Email ext to send html body in Pipeline

2016-10-13 Thread Slide
I believe that was added in 2.50 that was released recently. On Wed, Oct 12, 2016, 13:57 Sam K wrote: > Is there a plan to allow the ${FILE,path="${DIR}/test.html"} option that > is already available in the plugin? That is EXACTLY what most would want I > presume. :) > > > On Tuesday, October

Re: Email ext to send html body in Pipeline

2016-10-12 Thread Sam K
Is there a plan to allow the ${FILE,path="${DIR}/test.html"} option that is already available in the plugin? That is EXACTLY what most would want I presume. :) On Tuesday, October 11, 2016 at 11:26:58 AM UTC-7, Sam K wrote: > > Thanks for bringing this to my attention Mark. I was not aware o

Re: Email ext to send html body in Pipeline

2016-10-11 Thread Sam K
Thanks for bringing this to my attention Mark. I was not aware of that. The jelly scripts are great which send predefined content. In my case, I am generating content which I want to send in the body. I am trying to work with mutt email client but having other roadblocks. :( On Tuesday, O

Re: Email ext to send html body in Pipeline

2016-10-11 Thread Mark Bidewell
Support for templates was added in 2.50 if that helps. On Monday, October 10, 2016 at 1:21:28 AM UTC-4, Sam K wrote: > > This works for most part. Except, I have a html formatted file which I > would like to send as the body. Is it possible? Thanks > > emailext attachmentsPattern: '*.log, *.ht

Email ext to send html body in Pipeline

2016-10-09 Thread Sam K
This works for most part. Except, I have a html formatted file which I would like to send as the body. Is it possible? Thanks emailext attachmentsPattern: '*.log, *.html', body: 'BUILD_URL = ' + env.BUILD_URL, subject: 'END Coded Pipeline Build SOURCE - ' + CODE_BRANCH + ' TESTS - ' + TEST_B