Support expansion of parameters that has spaces in the name

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

XMLWordPrintable

      I have a parameter like following:

      stringParam {
        trim(true)
        name('Version to install')
        defaultValue('')
        description('The version to install.')
      }
      

      Which I can use in Jenkinsfiles like:

      echo params.'Version to install'
      

      However, they apparently cannot be expanded by token macro (when referenced in other parameters as well).

      It would be really nice if that could work. Maybe something like:

      ${Version\ to\ install}

            Assignee:
            Alex Earl
            Reporter:
            Felipe Santos
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: