title: Jenkins: What is a good way to store a variable between two job runs?
body: <p>I have a time-triggered job which needs to retrieve certain values stored in a previous run of this job.</p>
  
  <p>Is there a way to store values between job runs in the Jenkins environment?</p>
  
  <p>E.g., I can write something like next in a shell script action:</p>
  
  <pre><code>XXX=`cat /hardcoded/path/xxx`
  #job itself
  echo NEW_XXX &gt; /hardcoded/path/xxx
  </code></pre>
  
  <p>But is there a more reliable approach?</p>