I also tried *getCurrentRequest* but with no luck, the *req* is still
null, anybody can provide my some guidance ? Many appreciates in advance.
FileParameterDefinition fd = new FileParameterDefinition("init_name", "my
description");
StaplerRequest req=Stapler.getCurrentRequest();
fd.createValue(req);
--
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/53ae55b5-35ce-46a9-bb47-cc4cafa8f887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.