-
Bug
-
Resolution: Unresolved
-
Major
-
Slave Node OSX 10.8.5
repo version 1.20
I am trying to bring up a new slave node with an identically configuration to a working slave.
-
-
-
- Error message ****
[EnvInject] - Loading node environment variables.
Building remotely on mini-slave in workspace /Users/build/jenkins/workspace/job-64
[Destination_Directory] $ repo init -u ssh://source.company.local/git/product-manifest -b feature_branch
java.io.IOException: Cannot run program "repo" (in directory "/Users/build/jenkins/workspace/job-64/Destination_Directory"): error=2, No such file or directory
at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
*****
- Error message ****
-
-
If I remove the repo information from Source control Management. And move the repo commands down into the shell it works.
cd job-64/Destination_Directory
repo init -u ssh://source.company.local/git/product-manifest -b feature_branch
repo sync -d --jobs=1
=====
So it looks like a pathing issue however the pathing for the repo tool has been set everywhere and I see no way of figuring out where it's getting the information. Repo is located in /Users/build/bin
Specifically I'm setting environment at:
From the job:
Inject Environment variables to the build process:
PATH=/Users/build/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
From the Node:
Environment Variables:
(PATH=/Users/build/bin:$PATH)