Also, I forgot to mention taht I use some of the ant contrib functionality and I load the jar file into the ant lib folder. If I using the jenkins version, do I just have to let jenkins load it and then drop my jar file in there. I guess I have to keep doing this for each version I upgrade, but of course I have to do that regardless if I manage it myself.
On Friday, February 7, 2014 9:54 AM, Eric Wood <eric.w...@rocketmail.com> wrote: I am having an issue running a build.xml on a jenkins slave. The build file pulls properties from the env using: <property environment="env"/> I use the "env" property to get a direct for importing additional .xml file. When I run the build.xml through my Jenkins job on the slave, it does not seem to read the env properly. I set ANT_HOME on the slave to point to the Jenkins managed version of ANT. I use the master configuration page in Jenkins to set my ANT and it pulls it down to the slave for me. When I go to the workspace for the job and run the build.xml from a command prompt, it reads the environment properly. It seems like the slave node will not read the env so I can read values out of it that I have set, read and then use. How do i configure my slave to read from the environment? Thanks -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.