Add trim option to String Parameter

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      There are often failures when users input string parameter with an extra space.
      This leads to build failures in many cases.

      It would be great to be able to trim string parameter from the beginning. So it can be safely used everywhere down in the pipeline:

      parameters {
              string(defaultValue: "", description: '', name: 'tag or commit', trim: true)
      }
      

            Assignee:
            Kseniia Nenasheva
            Reporter:
            Alexander Vorobiev
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: