Hi,

I'm using EnvInject plugin to pass the variables across jobs but in one job 
the value of one variable might change within that job and I want to update 
that variable's value within that job.

I have tried to add:
echo var1=%new value%>>"%workspace%\glob.prop"
then use EnvInject this glob.prop into the Environment variable.

However, within the job, the value is still the old one, but after the job 
finishes, the new value is updated within the environment variables list of 
that build. Not sure how to update the value right away so I can use that 
value.

PS: when I write out the glob.prop it has 2 line of the same variable
var1=old value
var1=new value

Thanks,
Quang

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1f553b0d-dae0-454f-89d9-729ff4a8a691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to