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

Support for file input parameter type

    Details

    • Epic Link:
    • Similar Issues:

      Description

      Support for this input type is unplanned

      If you need support for this Input type please vote for this ticket and leave a comment explaining your use case with an example.

      In Scope

      • Support the "file" input parameter type

        Attachments

          Activity

          Hide
          henrydobson Henry Dobson added a comment -

          blue-ocean: 1.1.7

           

          This error occurs when trying to use declarative pipeline for a file parameter.

          "This pipeline uses input types that are unsupported. Use Jenkins Classic to resolve parametrized build."

          Could support for file be added?

            parameters {
              choice(name: 'Environment', choices: 'DEV\nQA\nSTAGE\nPROD', description: 'Which environment to import to.')
              file(name: 'import.json', description: 'The file to import.')
            }

          Show
          henrydobson Henry Dobson added a comment - blue-ocean: 1.1.7   This error occurs when trying to use declarative pipeline for a file parameter. "This pipeline uses input types that are unsupported. Use Jenkins Classic to resolve parametrized build." Could support for file be added?   parameters {     choice(name: 'Environment', choices: 'DEV\nQA\nSTAGE\nPROD', description: 'Which environment to import to.')     file(name: 'import.json', description: 'The file to import.')   }
          Hide
          henrydobson Henry Dobson added a comment -

          Unable to vote as resolved.

          Show
          henrydobson Henry Dobson added a comment - Unable to vote as resolved.
          Hide
          arpiatek Andrew Piatek added a comment -

          Hi Henry, where was this resolved?

          Show
          arpiatek Andrew Piatek added a comment - Hi Henry, where was this resolved?
          Hide
          henrydobson Henry Dobson added a comment -

          Look at the issue history Andrew. It was marked resolved and has since been reopened.

          Show
          henrydobson Henry Dobson added a comment - Look at the issue history Andrew. It was marked resolved and has since been reopened.

            People

            • Assignee:
              Unassigned
              Reporter:
              jamesdumay James Dumay
            • Votes:
              10 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: