Compare output of `id`, it's possible that the Jenkins process does not have all group memberships.
On 15.02.2015, at 10:21, Ondřej Korouš <[email protected]> wrote: > I am running job in Jenkins with Execute shell like this > > whoami > > php > /path/to/vendor/phpunit/phpunit/phpunit --log-junit > /path/to/results/phpunit/phpunit.xml /path/to/tests/SeleniumTest.php > But it failed with php error 'failed to open stream: Permission denied in > ...' so its trying to include file and doesnt have permision to it. > > When i switch to jenkins user (su - jenkins) and run exactly same command > then it works, just from jenkins it doesnt have permission. > > Anyone have a clue how to fix it? > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/b9b66891-874e-463b-bf59-450166c7e7f9%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5FE1F347-5865-46D3-B04F-D89FF2880738%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
