title: How to export a persistent environment variable from execute shell step in jenkins?
body: <p>If I have multiple execute shell steps in a Jenkins build, how can I create an environment variable in a particular execute shell step that will still be available in a subsequent execute shell steps and in plugin fields? I specifically want to use the variable in the formatted email plugin.</p>