Re: Method names for getters/setters in pipeline shared libraries

2017-08-28 Thread Baptiste Mathus
I'd say you're trying to use JavaBean on something that's not. Also, see my previous answer earlier, it somehow smells a bit too programmatic. Ideally try not do only *very* basic programming in Pipeline, do like most if not all magical/nice Groovy features don't exist. Le 25 août 2017 11:46,

Re: Method names for getters/setters in pipeline shared libraries

2017-08-25 Thread red 888
Yup "myFunc.myDerp" works! So is this a groovy thing or is this part of the jenkins DSL? I tried googling, but not sure what this language feature is called. On Friday, August 25, 2017 at 1:54:38 PM UTC-4, David Karr wrote: > > You likely need to reference "myFunc.myDerp" instead. > > On Fri,

Re: Method names for getters/setters in pipeline shared libraries

2017-08-25 Thread David Karr
You likely need to reference "myFunc.myDerp" instead. On Fri, Aug 25, 2017 at 10:33 AM, red 888 wrote: > Im not sure if this is a groovy thing or a jenkins shared library DSL thing > but I don't understand how this automatic getter setter stuff works. > > I have this