Is there a trim method in the string parameter ?

14 views
Skip to first unread message

Mike Craig

unread,
Mar 6, 2019, 5:35:42 PM3/6/19
to Jenkins Users
Hello,

For clear text data entry I'd like to be able to enable a 'trim' feature.

This page doesn't document one:

I would like something like this, does it exist? I couldn't get the below to work for me.
parameters {
   string(name: 'component', trim:true, description: 'component name for terraform')
  }

Thank you,

Mike

Victor Martinez

unread,
Mar 7, 2019, 4:35:12 PM3/7/19
to Jenkins Users
It seems it's solved:

What version of declarative do you use?






Reply all
Reply to author
Forward
0 new messages