The Job DSL used the associated files plugin (
https://github.com/jenkinsci/associated-files-plugin) from @abayer as a
simple template of a groovy-based project with a gradle build.


On Fri, Feb 22, 2013 at 7:39 AM, Bruno P. Kinoshita <
[email protected]> wrote:

> Hi there,
>
>
> I think Job DSL Plug-in [1] has some groovy scripts and Java classes too.
>
> [1] https://github.com/jenkinsci/job-dsl-plugin
>
> HTH,
>
> Bruno P. Kinoshita
> http://kinoshita.eti.br
> http://tupilabs.com
>
>
> ----- Original Message -----
> > From: R. Tyler Croy <[email protected]>
> > To: [email protected]
> > Cc:
> > Sent: Friday, February 22, 2013 12:09 PM
> > Subject: Re: Did support for writing Groovy plugins ever happen?
> >
> >
> > On Wed, 20 Feb 2013, Jesse Glick wrote:
> >
> >>  On 02/20/2013 06:33 AM, R. Tyler Croy wrote:
> >>  >I'm wondering if support for actually writing plugins fully in
> > Groovy was ever built?
> >>
> >>  AFAIK you can just create src/main/groovy/**/*.groovy and start coding.
> >>
> >>  The one problem I know of is that Groovy does not implement JSR 269
> >>  [1] so indexed annotations (especially @Extension) will be ignored.
> >>  The workaround would be to use src/main/java/**/*.java to write
> >>  ?entry points? but implement all the real logic in Groovy files.
> >>
> >>  Stapler views may be written in Groovy (src/main/resources/**/*.groovy
> > rather than src/main/resources/**/*.jelly).
> >
> >
> > You don't happen to know of any plugins to emulate or mimic, which are
> > already
> > full-on Groovy?
> >
> >
> > - R. Tyler Croy
> > --------------------------------------
> >     Code: https://github.com/rtyler
> > Chatter: https://twitter.com/agentdero
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to