title: Passing data between build steps in Jenkins
body: <p>I'd like to do something along the lines of:</p>
  
  <p>This is overly simple and just demonstrates what I'd like to do. Basically, I want to be able to store and access variables within a single job scope between multiple build steps. Also, I can get around by storing the data to a file and reading it later, but I'd like something easier and less 'hacky'</p>
  
  <p>Build Step #1 - Execute shell</p>
  
  <pre><code>$START=timestamp
  </code></pre>
  
  <p>Build Step #2 - Run another job</p>
  
  <p>Build Step #3 - Execute Shell</p>
  
  <pre><code>$END=timestamp
  TIME_LAPSED=$END-$START
  (post lapsed time somewhere)
  </code></pre>