title: can't export a variable from execute shell in Jenkins to other project (with using properties file)
body: <p>I have a Jenkins project with one "Execute shell" that executes some bash commands and exports one variable to the env. variables:</p>
  
  <pre><code>#!/bin/bash
  
  ...
  TARGET_FULLPATH="blablabla"
  export TARGET_FULLPATH
  </code></pre>
  
  <p>In addition, I have configured to "Post-build Actions" with:</p>
  
  <ol>
  <li>"Trigger parameterized build on other projects"</li>
  <li>"Current build parameters"</li>
  <li>"Predefined parameters" -> FULLPATH=$TARGET_FULLPATH</li>
  </ol>
  
  <p>But, when I run this project the other project that will start as soon the first one is finished seems that it doesn't get the parameter FULLPATH at all!</p>
  
  <p>At least in the "Execute shell" (of the second project) the bash script print nothing for echo $FULLPATH! Also at the "Environment Variables" of the second project the FULLPATH is not included!</p>
  
  <p>Any clue what am I doing wrong?</p>
  
  <p>One more thing, i can't use a properties file to store the parameters, since the two projects are running on different servers and there are restrictions on copying files between those servers!</p>