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

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

    Details

    • Sprint:
      1.0
    • Similar Issues:

      Description

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

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: