I have a groovy script that reads the MAVEN_VERSION in a "Pre Step" from
the job/project and sets an environment variable.

>From the job description of "execute system Groovy script" it states:

Executes a system groovy script similarly to *hudson_url*/script. The
script is *always* executed on master.


I take that to mean that if a job is run on a slave, the script would still
run on the master, however if it does get run on the master it really
doesn't help because the environment of the slave never gets the value
output from the system script.

Is there a way I can get the maven version of a project set in the job
environment without limiting where it can run?

-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to