On Thu, Aug 6, 2020 at 11:05 AM Jesse Glick <jgl...@cloudbees.com> wrote:

> On Thu, Aug 6, 2020 at 8:54 AM Michael Carter <mikeycarter1...@gmail.com>
> wrote:
> > how I can hook a formatter into it?  Is there custom hooks anywhere into
> the "Generate" button?
>
> No, `workflow-cps` currently produces a single line only. I suppose it
> could be made to generate indented multiline content if you checked a
> box requesting that. What you _can_ do is ensure that default values
> are omitted, so the size of the command is proportional to what the
> user actually customized:
>
>
> https://www.jenkins.io/doc/developer/plugin-development/pipeline-integration/#handling-default-values
>
>
That page gave me hope that I might be able to remove the noisy default for
generateSubmoduleConfiguration in the checkout scm generated code from the
git plugin.  Unfortunately, it uses a boolean rather than a Boolean, so I
don't think it can be null.

Is there a way for me to hide the default value of a deprecated boolean
field that intentionally has no jelly form associated with the field?

-- 
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/CAO49JtF9Ej9EzTx_0syqApUXDBWEqdG2q4rKQ-Y0mdJHFiB_zA%40mail.gmail.com.

Reply via email to