title: Jenkins declarative pipeline get environment variable at post stage
body: <p>I am getting runtime value in build stage stage which I stored in an environment variable . I saved that to env.cfg file under WORKSPACE .</p>
  <p>Now I am trying to get that value in post pipeline step to be used in email communication. I tried load method but it did not work</p>
  <p>Any help ?</p>
  <p>post {
  always {
  echo $SNAPSHOT / /this always comes null
  }
  }</p>