title: How can pass Hudson/Jenkins parameters to windows batch command
body: <p>well i need to execute a batch file in my Hudson Job, I have a parameter(Jenkis parameter) and i need to pass this value like param to batch file, i tried this:</p>
  
  <pre><code>Deploy.cmd -configuration=${DEPLOYCONFIGURATION} -source=${DeploySource}
  </code></pre>
  
  <p>My Deploy.cmd is configurated for get this values but Jenkis doesn't assign the values.. For example, i have this:</p>
  
  <pre><code>${DEPLOYCONFIGURATION} = DEV
  ${DeploySource} = c:\myFolder
  </code></pre>
  
  <p>Then,the batch file take this values</p>
  
  <pre><code>%DEPLOYCONFIGURATION% = ${DEPLOYCONFIGURATION} 
  %DeploySource% = ${DeploySource}
  </code></pre>
  
  <p>Takes the parameter name not its value</p>