title: How to use Map or semVerMap in groovy
body: <p>So I have these three lines of code and Im trying to use semVerMap like this-</p>
  <pre><code>def ccsmpVersionsInfo = readFile 'tools/versions.properties'
  ccsmpVersionsInfo[&quot;version.release&quot;] = semVerMap(ccsmpVersionsInfo, &quot;version&quot;, &quot;.&quot;)
  String deployVersion = ccsmpVersionsInfo[&quot;version.release&quot;]
  </code></pre>
  <p>But I get this error-</p>
  <pre><code>No such DSL method 'semVerMap' found among steps 
  </code></pre>
  <p>I was wondering if I can use something else instead of &quot;semVerMap&quot; to do the same thing.</p>
  <p>could you please help me with this. Any suggestions on what I can do are highly appreciated.</p>