I hope that this example may help: <j:forEach var="bAction" items="${build.getActions()}"> <j:if test="${bAction.getClass().getName()=='hudson.plugins.logparser.LogParserAction'}"> <j:set var="warnTotal" value="${bAction.getResult().getTotalWarnings()}"/> <j:set var="errorTotal" value="${bAction.getResult().getTotalErrors()}"/> </j:if> </j:forEach>
Kind Regards, Mgimza On Fri, Jan 18, 2013 at 11:00 AM, <jhoomshar...@netscape.net> wrote: > What code should come under ${code here to read HTML file} > > > > -----Original Message----- > From: japinder gill <jappig...@gmail.com> > To: jenkinsci-users <jenkinsci-users@googlegroups.com> > Cc: japinder gill <jappig...@gmail.com> > Sent: Thu, Jan 17, 2013 7:40 pm > Subject: Re: Jelly script, for email > > i need exactly this > ${code here to read HTML file}, code for reading the file > > > > On Thursday, January 17, 2013 5:59:44 PM UTC+5:30, slide wrote: >> >> Can you post what you tried from Jelly? Something like the following >> _should_ work. >> >> <j:set var="seleniumFileHtml" value="${code here to read HTML file}" /> >> ${seleniumFileHtml} >> >> The other option would be to attach the selenium report. >> >> I don't have any Groovy examples handy, but its very quick to pick up. >> >> >> On Wed, Jan 16, 2013 at 11:28 PM, japinder gill <japp...@gmail.com>wrote: >> >>> thnks dude, >>> appreciated if you can post some code or link. >>> have no exp in groovy too. >>> >>> >>> On Wednesday, January 16, 2013 6:48:59 PM UTC+5:30, slide wrote: >>> >>>> Use a groovy template >>>> >>>> Sent from my Windows Phone >>>> ------------------------------ >>>> From: japinder gill >>>> Sent: 1/16/2013 4:07 AM >>>> To: jenkins...@googlegroups.**com >>>> >>>> Subject: Jelly script, for email >>>> >>>> Hello, >>>> I need to embed selenium result html report into email notification. >>>> The auto mail send after every build should contain complete selenium >>>> report also . >>>> I tried “Email-ext” pluglin with jelly scripting but not able to do it. >>>> Can anyone suggest a better way or how to do using jelly. >>>> >>>> >> >> >> -- >> Website: http://earl-of-code.**com <http://earl-of-code.com/> >> >