Currently there is a bug in the groovy templating that it does not load/import the Jenkins object model correctly, I am working to fix this. Jelly has no such issue and you can interact with the full Jenkins object model.
slide On Tue, May 22, 2012 at 9:20 PM, arjun tr <arjun200...@gmail.com> wrote: > Are there any documentation on the objects and methods available for use in > groovy and jelly scripts in email-ext plugin? > > > Regards, > Arjun > > > > On Tue, May 22, 2012 at 9:53 PM, arjun tr <arjun200...@gmail.com> wrote: >> >> sorry, but I tried this in vain. I got some jelly script from some >> stackoverflow which showed how to configure pmd, checkstyle, findbugs >> individually. >> >> It would help if there is some sort of documentation for objects available >> in jelly and groovy scripts >> >> Here is the stackoverflow link >> >> >> http://stackoverflow.com/questions/8184944/can-i-configure-jenkins-to-send-an-email-with-a-static-analysis-report-summary >> >> >> Regards, >> Arjun >> >> >> >> On Tue, May 22, 2012 at 3:57 PM, Ullrich Hafner <ullrich.haf...@gmail.com> >> wrote: >>> >>> On 05/22/2012 11:49 AM, arjun tr wrote: >>> > I was trying to include short summary of cobertura, pmd, checkstyle, >>> > findbugs reports in emails. >>> > I was able to get configurations for cobertura but not for others with >>> > jelly. >>> > Is there any place which details on the other plugin configurations >>> > and class, method definitions in either jelly or groovy?? >>> >>> I added a new template in the latest release of the email-ext plug-in: >>> >>> https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/resources/hudson/plugins/emailext/templates/static-analysis.jelly >>> >>> It simply shows the total number of warnings for each of the analysis >>> tools. >>> >>> Ulli >>> >>> >> > -- Website: http://earl-of-code.com