title: How Do I Use a Hidden Parameter in a Jenkins Declarative Pipeline
body: <p>I am attempting to pass parameters that are defined in a Jenkins configuration to a declarative pipeline. When I do this with the built in string, everything works fine:</p>
  <pre><code>string(name: 'rv', defaultValue: 'none', description: 'the release version')
  </code></pre>
  <p>Since these value should not be edited by the user in the Build with Parameters screen, I switched to using the <a href="https://plugins.jenkins.io/hidden-parameter/" rel="noreferrer">hidden parameter plugin</a>:</p>
  <pre><code>hidden(name: 'rv', defaultValue: 'none', description: 'the release version')
  </code></pre>
  <p>But this gives me an error when the pipeline script is run:</p>
  <pre><code>WorkflowScript: 30: Invalid parameter type &quot;hidden&quot;. Valid parameter types: [booleanParam, buildSelector, choice, credentials, file, gitParameter, text, password, run, string]
  </code></pre>
  <p>Is there a method by which I can use the hidden parameter in a declarative Jenkins pipeline?</p>