title: Parameters added to build in the fly not passed to downstream jobs
body: <p>I have Job_1, and Job_2.<br>
  <strong><em>In Job_1,</em></strong> </p>
  
  <p><strong>Step 1: Execute system Groovy script</strong></p>
  
  <pre><code>import hudson.model.*
  def build = Thread.currentThread().executable
  def param = []
  param.add(new StringParameterValue('ARTS', "safsaf"))
  def pa = new ParametersAction (param)
  build.addAction(pa)
  </code></pre>
  
  <p><strong>Step 2: Trigger/call builds on other projects</strong></p>
  
  <pre><code>Projects to build: JOB_2
  Add parameters: Current build parameters
  </code></pre>
  
  <p><strong>Step 3:</strong></p>
  
  <pre><code>Execute Windows batch command
  echo arts  = %ARTS%
  </code></pre>
  
  <p><strong><em>In Job_2,</em></strong></p>
  
  <p><strong>Step 1:</strong> </p>
  
  <pre><code>Execute Windows batch command
  echo arts from Job_1 = %ARTS%
  </code></pre>
  
  <p>Build Job_1, it does print out:</p>
  
  <blockquote>
    <p>arts  = safsaf</p>
  </blockquote>
  
  <p>build_2 was successfully triggered, and print out:</p>
  
  <blockquote>
    <p>arts from Job_1 = (blank)</p>
  </blockquote>
  
  <p>it appears that only parameters in Job_1 defined in the <strong>This build is parameterized</strong> section can be passed to the downstream projects.</p>
  
  <p><em>is this the expected behavior? How can parameters added in the fly be passed along?</em></p>