Rundeck sharing variables across job steps
<p>I want to share a variable across rundeck job steps. </p>

<ol>
<li>Initialized a job option "target_files"</li>
<li><p>Set the variable on STEP 1.</p>

<p><code>RD_OPTION_TARGET_FILES=some bash command</code><br>
<code>echo $RD_OPTION_TARGET_FILES</code><br>
The value is printed here.</p></li>
<li><p>Read the variable from STEP 2. <br>
<code>echo $RD_OPTION_TARGET_FILES</code></p></li>
</ol>

<p>Step 3 doesn't recognize the variable set in STEP 1. <br>
What's a good way of doing this on rundeck other than using environment variables? </p>