I need to pass a file to a called job and would like to use the file parameter type documented here.  Unfortunately, the sum total of the documentation shown below is simply insufficient to understand how to pass the contents of the file:

      file

      • name
        • Type: String
      • file
           Nested Choice of Objects

          [JENKINS-66967] No documentation for file parameter type

          Have you tried the Snippet Generator? It can generate a build pipeline step with other types of parameters, so I'd expect it to work with file as well.

          Kalle Niemitalo added a comment - Have you tried the Snippet Generator? It can generate a build pipeline step with other types of parameters, so I'd expect it to work with file as well.

            Unassigned Unassigned
            rhpatrick Robert Patrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: