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

InputStep doesn't support File Parameters

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: