title: Jenkins: set a parameter defaultValue dynamically
body: <p>I'm trying to set up a multibranch pipeline configuration where the "Deploy" boolean checkbox is defaulted to <code>true</code> on non-production branches, and <code>false</code> on the production build.</p>
  
  <pre><code>pipeline {
    parameters{
      booleanParam(defaultValue: true, description: 'Do deploy after build', name: 'DEPLOY')
  </code></pre>
  
  <p>Is there some method to conditionally set <code>defaultValue=false</code> when <code>$BRANCH_NAME == "production"</code>?</p>