You would use them the same way they are used in Java. Sent from my Windows Phone ------------------------------ From: arjun tr Sent: 5/23/2012 11:29 AM To: jenkinsci-users@googlegroups.com Subject: Re: Email with pmd | checkstyle
I tried looking into analysis core and analysis collector plugin but could not understand how the objects are defined for use in jelly and groovy. Is there anything I'm missing, I'm new to Jenkins code even though I have been using Jenkins for a long time Regards, Arjun On Wed, May 23, 2012 at 7:41 PM, Slide <slide.o....@gmail.com> wrote: > 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 >