Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xctool: command not found #22

Closed
bluekite2000 opened this issue Aug 26, 2014 · 1 comment
Closed

xctool: command not found #22

bluekite2000 opened this issue Aug 26, 2014 · 1 comment

Comments

@bluekite2000
Copy link

I installed xctool via homebrew (in /usr/local/Cellar/xctool/0.1.16) . When I build my script on jenkins I get an error
xctool: command not found.

xctool works fine in console. Is there a place in your app I can set path in your app so jenkins knows where to find xctool?

@stisti
Copy link
Owner

stisti commented Aug 27, 2014

The default system PATH does not include any directories from /usr/local. If it works for you, you have some shell init file which adds some directories to your PATH. Shells usually execute the init scripts for interactive login shells only, so the shell which Jenkins uses to run your build script probably runs with system defaults.

I don't think this has anything to do with Jenkins.app but this is a Jenkins FAQ: If you use any tools outside of system defaults, you must either

  • Call them with absolute path or
  • Modify PATH in your build script or
  • Modify PATH in Jenkins configuration page. Go to Jenkins master (or slave) configuration and add an environment variable named PATH with the value you want Jenkins to use.

@stisti stisti closed this as completed Aug 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants