On Fri, Aug 3, 2018 at 1:35 PM Michael Fowler <michaeldkfow...@gmail.com> wrote: > 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. -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr26Yk6zTY_df_JYz2gH%2B1r-AC2YTiZ521wOcGr-F8dMTw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.