title: What is the difference between defining variables using def and without?
body: <p>In relation to Jenkins DSL, what is the difference between:</p>
  
  <pre><code>def cwd = pwd()
  </code></pre>
  
  <p>and</p>
  
  <pre><code>cwd = pwd()
  </code></pre>
  
  <p>?</p>