Use jelly always. It is closer to the html. It is more obvious what the effects will be. It is faster.
The only reason to use groovy view is if you want partial support for IDE completion of expressions (it's only partial mind, as the IDE will not be able to get full contextual type info) Any time I find a view performance issue it is usually a groovy view and reworking as jelly usually yields a simpler file with better performance. But that is my personal experience and I've been writing jelly views since 2006... The groovy fanboys have not been able to convince me to switch yet. (I would switch to handlebars as a templating engine, some day soon I'll bite the bullet and implement support for handlebars as a view rendering engine in stapler) On Wednesday, September 9, 2015, Jacqueline Taing <[email protected]> wrote: > Hi, > > I am fairly new to plugin development and I would like to understand when > someone would use jelly vs. groovy script for the UI. I am seeing some > plugins with jelly but some that use groovy. When would you use one over > the other? > > Thanks, > -jacqui > > -- > 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] > <javascript:_e(%7B%7D,'cvml','jenkinsci-dev%[email protected]');> > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/37090e7c-5188-4c94-ab57-1c20dfcad0a4%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/37090e7c-5188-4c94-ab57-1c20dfcad0a4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Sent from my phone -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CA%2BnPnMxJe74ZSFeoSN%2BChVbY8n3-r4N2A4suR4uzsAjOcM1V_A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
