My setup is as follows;
Jenkins on Max OS X (10.7.5) and running Jenkins (ver. 1.504)
Logged in as user, having a project that has an Android project workspace.
What I would like to have is an automated build process that tests some basic functionality using something called Calabash.
In the (user) terminal i can succesfully run the command without any problems.
However running the same command in "Execute Shell" it gives me the following output:
sh: ~/sdk/platform-tools/adb: No such file or directory
sh: ~/sdk/platform-tools/adb: No such file or directory
sh: ~/sdk/platform-tools/adb: No such file or directory
sh: ~/sdk/platform-tools/adb: No such file or directory
sh: ~/sdk/platform-tools/adb: No such file or directory
What I tried so far are the following things:
Added the tools and platform tools to the path by adding them in the bash_profile file, by adding them in bashrc file and by adding them the help of a plugin called EnvInject (ver 1.83).
EnvInject even enables me to see the used enviroment variables that have been used during a build. It shows succesfully
PATH | /usr/bin:/bin:/usr/sbin:/sbin:/Users/Shared/Jenkins/sdk/platform-tools:/Users/Shared/Jenkins/sdk/tools |
Or (what i also tried)
PATH | /usr/bin:/bin:/usr/sbin:/sbin:~/sdk/platform-tools:~/sdk/tools |
I have looked everywhere, and it feels like I tried everything to make this work, yet nothing seems to work properly. Please Advice.