Support expansion of parameters that has spaces in the name

XMLWordPrintable

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Minor
    • Component/s: token-macro-plugin
    • None

      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
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: