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

Build parameters are injected as typeless strings into workflow script

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None

      Build parameters defined today in a workflow job all get injected to workflow as string values today. So for example, if you define a boolean variable 'foo', it gets a string value "true" or "false", instead of boolean value true or false.

      This is not very useful. It makes much more sense to get access to typed values.

          [JENKINS-27388] Build parameters are injected as typeless strings into workflow script

          Kohsuke Kawaguchi created issue -
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-27295 [ JENKINS-27295 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161593 ] New: JNJira + In-Review [ 196808 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

            jglick Jesse Glick
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: