Re: MissingMethodException while using shared libraries

2019-03-01 Thread Kaliyug Antagonist
Instantiating every time works well, I had tried that earlier but that isn't the way I wish to go :( On Friday, March 1, 2019 at 9:20:09 AM UTC+1, Reinhold Füreder wrote: > > Hi, > > > > a naive quick guess is that you are using too much groovy, but Jenkins > pipeline code is -- well -- not

RE: MissingMethodException while using shared libraries

2019-03-01 Thread Reinhold Füreder
Hi, a naive quick guess is that you are using too much groovy, but Jenkins pipeline code is -- well -- not fully groovy… => Maybe try to replace the fields like: @Field final BitbucketBuildOperationsHandler bitbucketUtilities = new BitbucketBuildOperationsHandler(this,env) … in