I dont know what id do you mean. I have whoami on the start that saying its 
jenkins user

Dne neděle 15. února 2015 12:47:41 UTC+1 Daniel Beck napsal(a):
>
> 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] <javascript:>> 
> 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] <javascript:>. 
> > 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/3330fb85-2ec5-43e8-a1c9-a51eaab5b497%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to