Thanks. That i'm fine with as i would have to do that regardless of Jenkins 
,managed or managed by me, but what about the issue where ...

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?



On Friday, February 7, 2014 10:02 AM, Mark Waite <[email protected]> 
wrote:
 
I think you've understood correctly that Jenkins automatic installation of ant 
does not also automatically install libraries which are not part of the base 
ant distribution.

Mark Waite



On Fri, Feb 7, 2014 at 7:58 AM, Eric Wood <[email protected]> wrote:

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


-- 

Thanks!
Mark Waite
-- 
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.

-- 
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