0

On ubuntu 10.0.4
Did sudo su
Then installed eclipse in /root/eclipse (only wget and unzip, no apt-get)
Then installed android sdk in /root/android-sdk-linux_x86 (only wget and unzip, no apt-get)
Run with gksudo /root/eclipse/eclipse &
No issues. Development working fine.

Then installed jenkins in /var/lib/jenkins (using apt-get)

Issue:
Now when I use jenkins "Execute shell" option and call shell scripts,
I get permissions issues like for example:
/root/android-sdk-linux_x86/tools/android: Permission denied
Cannot find /root/android-sdk-linux_x86/tools/ant/pre_setup.xml

How do I configure users and groups in this kind of scenario,
so that I can run scripts from jenkins (running as the jenkins user) ?

0

install everything into jenkins's home directory instead of root.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.