Everytime I try to fix an issue for that feature in develop mode (hpi:run) all works like a charm, but when I release and install the hpi in a jenkins I have different behaviors.
The feature ask to propose a new Installer tool.
Actually I have a NodeJSInstaller that extends DownloadFromUrlInstaller and include its jelly page. It works great.
The feature add a MirrorJSInstaller that extends
NodeJSInstaller.
This installer add two new fields and include the NodeJSInstaller jelly page.
What not does not work is that the additional fields in Mirror....Descriptor call method in superclass (that do not exists) instead of itself.
For example:
this is the request
http.../descriptorByName/hudson.plugins.nodejs.tools.NodeJSInstaller/fillCredentialsIdItems
but the expected is
http.../descriptorByName/hudson.plugins.nodejs.tools.MirrorNodeJSInstaller/fillCredentialsIdItems
In a real installation the request return 404 but in develop (hpi:run) it works and the method in
MirrorJSInstaller is called.
Someone could point me to the direction where I have to look. JELLY is a big horrible animal that hides too much (also the documentation in most of cases)
Thanks in advance to all