Re: $JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node

2017-02-02 Thread Ioannis Moutsatsos
I believe that you can define a JENKINS_HOME environment variable on the slave node. Jobs running there will use that instead of the JAVA_HOME of the master. On Wednesday, February 1, 2017 at 4:48:52 PM UTC-5, Bruce Epstein wrote: > > Hi Everyone - > > I have one master and one slave node. > >

Re: $JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node

2017-02-01 Thread Indra Gunawan (ingunawa)
d.com> Reply-To: "jenkinsci-users@googlegroups.com" <jenkinsci-users@googlegroups.com> Date: Wednesday, February 1, 2017 at 1:48 PM To: Jenkins Users <jenkinsci-users@googlegroups.com> Subject: $JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node Hi Everyo

$JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node

2017-02-01 Thread Bruce Epstein
Hi Everyone - I have one master and one slave node. I am trying to move some Jenkins jobs that currently run on the master to instead run on the slave. For various reasons, I need (or at least want) to use the $JENKINS_HOME env variable in my scripts, but it returns the value of the master