title: How to access parameters in a Parameterized Build?
body: <p>How do you access <code>parameters</code> set in the "This build is parameterized" section of a "Workflow" Jenkins job?</p>
  
  <p><strong>TEST CASE</strong> </p>
  
  <ol>
  <li>Create a WORKFLOW job.</li>
  <li>Enable "This build is parameterized".</li>
  <li>Add a STRING PARAMETER <code>foo</code> with default value <code>bar text</code>.</li>
  <li><p>Add the code below to <code>Workflow Script</code>:</p>
  
  <pre><code>node()
  {
       print "DEBUG: parameter foo = ${env.foo}"
  }
  </code></pre></li>
  <li>Run job.</li>
  </ol>
  
  <p><strong>RESULT</strong></p>
  
  <p><code>DEBUG: parameter foo = null</code></p>