Integer and decimal step parameters are save as string in Pipeline Editor

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

XMLWordPrintable

      When editing a step with an integer parameter (for example Sleep), the saved value for this parameter is a string, and this make the resulting pipeline failing.

      Here is an sample of what is generated by the pipeline editor

      sleep(time: '5', unit: 'MINUTES')
      

      and what is should have been

      sleep(time: 5, unit: 'MINUTES')
      

       

            Assignee:
            jeremie violas
            Reporter:
            jeremie violas
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: