title: Play 2 & Cloudbees: Could not resolve substitution to a value
body: <p>I am deploying my Play! 2.1 application on Cloudbees. </p>
  
  <p>I have in my <em>application.conf</em>: </p>
  
  <pre><code># Database configuration
  # ~~~~~ 
  db.default.driver=com.mysql.jdbc.Driver
  db.default.url=${MYSQL_URL_DB}
  db.default.user=${MYSQL_USERNAME_DB}
  db.default.password=${MYSQL_PASSWORD_DB}
  </code></pre>
  
  <p>I defined those values in Cloudbees configuration: </p>
  
  <pre><code>$ bees config:list -a myself/my-app 
  Application Parameters:
    proxyBuffering=false
    MYSQL_URL_DB=jdbc:cloudbees://my-app
    MYSQL_USERNAME_DB=my-app
    MYSQL_PASSWORD_DB=yummy
  Runtime Parameters:
    java_version=1.7
  </code></pre>
  
  <p>I publish my app using git (<code>git push cloudbees cloudbees:master</code>) which triggers Jenkins. But when it comes to deploying application, I get in Jenkins logs:</p>
  
  <blockquote>
    <p>[error] (compile:compile)
    com.typesafe.config.ConfigException$UnresolvedSubstitution:
    conf/application.conf: 16: Could not resolve substitution to a value:
    ${MYSQL_PASSWORD_DB}</p>
  </blockquote>
  
  <p>Is there anything else to do to make Jenkins aware of the configuration? Did I misunderstand something?</p>
  
  <p>Thanks for your help!</p>
  
  <p>Alban</p>