jenkinsci/jenkins.rb

Associate a Descriptor to the build wrapper

Opened this issue · 2 comments

This may be a dumb question but I can't seem to find the way to associate a Descriptor to my Jenkins::Tasks::BuildWrapper subclass.
I have a dropdown menu in my interface that is backed by the model. Unfortunately no matter how I implement my methods I always get:

WARNING: Caught exception evaluating: descriptor.calcFillSettings(field,attrs) in /job/drfgre/configure. Reason: java.lang.IllegalStateException: class org.jruby.proxy.hudson.model.Descriptor$Proxy0 doesn't have the doFillDevcenter_credentialsItems method for filling a drop-down list

What's the right way to register a Descriptor with a build wrapper in ruby?

hi,

i have implemented a descriptor with an dofill method but i got the same issue like you.

best regards
felix

Same goes for me, too