Hi, I have an issue in NodeJS plugin with feature 
https://issues.jenkins.io/browse/JENKINS-64646

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.

Jelly at 
https://github.com/jenkinsci/nodejs-plugin/blob/master/src/main/resources/jenkins/plugins/nodejs/tools/MirrorNodeJSInstaller/config.jelly
Class at 
https://github.com/jenkinsci/nodejs-plugin/blob/master/src/main/java/jenkins/plugins/nodejs/tools/MirrorNodeJSInstaller.java

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

-- 
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/3d1c9130-d630-4b66-9de9-a31f9971a116n%40googlegroups.com.

Reply via email to