Am Montag, 6. August 2018, 16:56:04 CEST schrieb Jesse Glick:
> On Fri, Aug 3, 2018 at 1:35 PM Michael Fowler <> 
> > I have a plugin that outputs a pipeline snippet like this from the
> > snippitizer: "mycommand parameter2: value2, parameter1: value 1" . For
> > readability, I would like to have parameter1 be written first. Is there
> > something I can do in the plugin code to change the order?
> Not currently; parameters are alphabetized. It would be ideal if any
> mandatory parameters (`@DataBoundConstructor`) preceded any optional
> ones (`@DataBoundSetter`), but I do not think `Snippetizer` or its
> underlying `DescribableModel` utility does this yet. As far as further
> ordering of parameters, there is no API defined which would allow
> that.

Could the snippetizer be changed to derive the parameter order from the UI 
(jelly file)? Most plugins already have a sensible parameter order in their UI 


E-Mails sollten Text sein, Text und nur Text.
Wenn Gott gewollt hätte, dass E-Mails in HTML geschrieben würden,
endeten Gebete traditionell mit </amen>.

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 view this discussion on the web visit
For more options, visit

Reply via email to