On the jenkins master I have configured that gradle should be autoinstalled to:
*GRADLE_HOME: /var/jenkins/tools/mygradle* on all slave nodes resulting in the gradle script being located here: /var/jenkins/tools/mygradle/bin/gradle This works fine and my gradle jobs builds on the slave nodes. Now I need to call a .sh script (Build step - Execute shell) in a job. At some point the script calls gradle and therefore requires that its in the PATH. But when I execute the job (on one of the build slaves) gradle cannot be found. Is it possible to auto install gradle on all slaves and ALSO add gradle to the PATH on all slaves? -- View this message in context: http://jenkins.361315.n4.nabble.com/GRADLE-HOME-not-available-on-slaves-tp4651205.html Sent from the Jenkins users mailing list archive at Nabble.com.