predefined variables do not expand env vars with dots

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

XMLWordPrintable

      I am running a parameterized job which triggeres another one, I am trying to pass predefined parameters to that job where one of them contais dots e.g "build.number"
      as opposed to other parameters passed this one does not get expended and I end up with the parameter name as its value.

      example:

      CI_VERSION_PREFIX=${buildVersion}
      CI_VERSION_POSTFIX=${build.number}

      in the triggered job:
      echo aaa = %CI_VERSION_PREFIX%
      echo bbb = %CI_VERSION_POSTFIX%

      Result:
      aaa = 0.0.0.
      bbb = ${build.number}

            Assignee:
            benza
            Reporter:
            benza
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: