title: Get Global Variables in jenkins pipeline
body: <p>I'm creating a jenkins pipeline which is used on different environments / builds. Each Build has different parameters: deploy destination, passwords, usernames etc.</p>
  
  <p>I have some common settings all these builds share, which i have added in the "Jenkins" -> "Configuration" -> "Global properties" as a key value. </p>
  
  <p>Lets say i have added a key value par with : 
  Name : CommonName
  Value : Money</p>
  
  <p>I now want to be able to, in my pipeline, to access this CommonName variable.
  I've tried everything.</p>
  
  <pre><code>println "{$params.CommonName}"
  println "{$env.CommonName}"
  println "{$CommonName}"
  </code></pre>
  
  <p>Nothing returns me the value from the global configuration. </p>
  
  <p>Not even have a parameter key value on the build to be like: 
  Name : Name
  Value : ${CommonName}</p>
  
  <p>And then trying to access "${params.Name}", still null in return. </p>
  
  <p>Baseline is, i want to have shared variables across different builds, which i can alter in Jenkins. </p>