Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42640

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

XMLWordPrintable

    • 1.0

      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')
      

       

            jviolas jeremie violas
            jviolas jeremie violas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: