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

InputStep doesn't support File Parameters

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      1. Input step form submissions are broken for File params because InputStepExecution doesn't support multipart/form-data.
      2. The input step is not handling the file param (FileParameterValue) properly. See InputStepExecution.convert; it's copying the file to the build directory, while I think it should be copying it to the active workspace associated with the input build step, allowing the file to be read from the workspace (by the workflow script - might be possible to get from the build, but I think it would be more intuitive to get it from the workspace) + allowing it to be archived via the archive step (I don't think this can be worked around because the archive step only archives from the workspace afaik).

        Attachments

          Issue Links

            Activity

            tfennelly Tom FENNELLY created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-27413 [ JENKINS-27413 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 164159 ] JNJira + In-Review [ 181532 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            jglick Jesse Glick made changes -
            Component/s pipeline-input-step-plugin [ 21708 ]
            Component/s pipeline [ 21692 ]
            jglick Jesse Glick made changes -
            Assignee Tom FENNELLY [ tfennelly ] Jesse Glick [ jglick ]
            Resolution Won't Fix [ 2 ]
            Status Open [ 1 ] Resolved [ 5 ]

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              tfennelly Tom FENNELLY
              Votes:
              9 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: