stisti / jenkins-app

Make Jenkins behave like a Mac application to make it easier to manage.
246 stars 20 forks source link

xctool: command not found #22

Closed bluekite2000 closed 10 years ago

bluekite2000 commented 10 years ago

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 commented 10 years ago

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