Hi, thanks, writing helper methods is my current workaround. I am looking into groovy.
On Thursday, September 8, 2016 at 8:05:24 PM UTC-7, Jesse Glick wrote: > > On Thu, Sep 8, 2016 at 4:36 PM, Cheng Bao <[email protected] <javascript:>> > wrote: > > How I can use class object from jelly? > > Not easily if at all. > > Either switch to a Groovy view; or (my general preference) extract any > logic that is not absolutely trivial into helper methods in Java code > which can be called as instance methods with simply-typed parameters > from something the Jelly view already has available (`it`, > `descriptor`, etc.). > -- 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/ddb610f1-3fb8-4ca0-bdca-9bb5342e80b7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
