title: obtaining groovy value from map given computed key for jenkins?
body: <p>Given the map:</p>
  
  <pre><code>def mymap = ["first":"aaa", "second":"bbb", "third":"ccc"]
  </code></pre>
  
  <p>I would like to get the value for a key where the key is a parameter of the Jenkins job that runs this Groovy script. </p>
  
  <p>I have tried a number of methods similar to</p>
  
  <pre><code>sh "echo the value is ${mymap.${paramValue}}"
  </code></pre>
  
  <p>but this is throwing the error</p>
  
  <blockquote>
    <p>" unclassified method java.util.LinkedHashMap"</p>
  </blockquote>