Job A isn't really setting VAR_REV. Instead, it's setting it in a local
scope (ie it shells out, sets the env var in that shell, then exits the
shell). Try using the Inject Environment Variable plugin.
On Wed, Mar 30, 2016 at 3:52 PM nguyen wrote:
> Hi,
>
> I have two build job *A* and *B*.
> j
Hi,
I have two build job *A* and *B*.
job *A *build by "Execute Windows Batch Command"
job *B* build by "Flow"
In job *A*, I set "This build is parameterized" -> String Parameter -> Name
= VAR_REV and Default = 123
In job *A* "Execute Windows Batch Command", I set as below
echo %VAR_REV%
set