The triple quote strings are taken as is, so just remove the tabs/spaces at
the start of the lines.

On Fri, Jun 12, 2020, 08:29 Al Silver <asilver...@gmail.com> wrote:

> Hi,
>   How can I have a detailed description field that is properly displayed
> when building with parameters.  The example below is obviously not good
> coding practice
>
> parameters {
>         // Optional //
>
>         string(name: 'isis_thresh', defaultValue: '',
>                 description: 'Threshold for ISIS Nbr last_state_change in
> format of 4h25s (e.g., 40s, 5m40s, 3h5m40s, 2d, 4w2d). Neighbor uptimes
> that are less than this value will be flagged as an error.')
>
>
>     }
>
> I'd like to do something like this but then the output when building the
> job contains the tabs and looks bad... I'd like each of the lines in the
> output to display against the left hand margin.
>
> parameters {
>
>         string(name: 'isis_thresh', defaultValue: '',
>                 description: '''Threshold for ISIS Nbr last_state_change
> in
>                                 format of 4h25s (e.g., 40s, 5m40s,
> 3h5m40s, 2d, 4w2d).
>                                 Neighbor uptimes that are less than this
> value will
>                                 be flagged as an error.''')
>
>     }
>
> Thx
> Al
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/cf6402d1-6a01-4ed3-a244-445366836ecfo%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/cf6402d1-6a01-4ed3-a244-445366836ecfo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfOp5Ub7%3D1jCTEZ7170gWdmj6%3DF3zjQyQcPL07rpQvYYQ%40mail.gmail.com.

Reply via email to